We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

changing appearance for 1 cell

Currently when I double click on a cell in my GGC, I change the appearance for the entire column... private void traderGrid_TableControlCellDoubleClick(object sender, GridTableControlCellClickEventArgs e) { string colName = e.TableControl.Table.GetColumnDescriptorAt(e.Inner.RowIndex, e.Inner.ColIndex).Name; if (colName == "Comment") { this.traderGrid.TableDescriptor.Columns["Comment"].Appearance = editable; } } Instead, how can I change the appearance for only the double clicked cell, not the entire column? thanks!

1 Reply

AD Administrator Syncfusion Team December 17, 2005 10:29 AM UTC

In your double click event, you could save the column name and gridrecord. Then in QueryCellStyleInfo, set the color for that record and color. http://www.syncfusion.com/Support/user/uploads/GGC_DoubleClickColor_7238aa74.zip

Loader.
Live Chat Icon For mobile
Up arrow icon