JJ
Jisha Joy
Syncfusion Team
June 29, 2010 10:20 AM UTC
Hi Anil,
Thank you for using Syncfusion products.
You could use the following code to change the backcolor of the currently selected row.
this.gridGroupingControl1.TableControlPrepareViewStyleInfo += new Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlPrepareViewStyleInfoEventHandler(gridGroupingControl1_TableControlPrepareViewStyleInfo);
void gridGroupingControl1_TableControlPrepareViewStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlPrepareViewStyleInfoEventArgs e)
{
if (e.Inner.RowIndex == this.gridGroupingControl1.TableControl.CurrentCell.RowIndex)
e.Inner.Style.BackColor = Color.BlanchedAlmond;
}
Regards,
Jisha