JJ
Jisha Joy
Syncfusion Team
July 6, 2009 12:20 PM UTC
Hi,
If you want to apply styles to the cell while editing this can be achieved by handling QueryCellInfo event. You could check whether CurrentCell is editing and set the styles as desired.
void gridControl1_QueryCellInfo(object sender, Syncfusion.Windows.Forms.Grid.GridQueryCellInfoEventArgs e)
{
if (this.gridControl1.CurrentCell.IsEditing)
e.Style.TextColor = Color.Green;
}
Please let me know if this does not serve your needs.
Regards,
Jisha