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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

changing appearance for 1 cell

Thread ID:





38748 Dec 17,2005 03:12 AM UTC Dec 17,2005 10:29 AM UTC WinForms 1
Tags: GridControl
Eric Weber
Asked On December 17, 2005 03:12 AM UTC

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!

Administrator [Syncfusion]
Replied On 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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon