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

Text Color on GGC Selected Row

I have two columns that are of cell type "pushbutton". When a row is selected, the font color of all the text in that row changes to white. I know how to change selected text color for the entire row, but how do I keep the text color on those two cells black, and let the others change to the standard selected text color?

1 Reply

BK Babak Keradman February 14, 2006 07:57 PM UTC

nevermind I figured it out. I handled the DrawCell event. private void grid_TableControlDrawCell(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlDrawCellEventArgs e) { if(e.Inner.Style.CellType.Equals("PushButton")) { e.Inner.Style.ResetTextColor(); } }

Loader.
Live Chat Icon For mobile
Up arrow icon