Hi,
Thanks for your interest in Syncfusion Products.
To handle styles for individual cells in GridGroupingControl, you can make use of GridStyleInfo properties in QueryCellStyleInfo/PrepareViewStyleInfo event. Following is the code handled in QueryCellStyleInfo event to achieve the same.
if (e.TableCellIdentity.TableCellType == Syncfusion.Windows.Forms.Grid.Grouping.GridTableCellType.RecordFieldCell || e.TableCellIdentity.TableCellType == Syncfusion.Windows.Forms.Grid.Grouping.GridTableCellType.AlternateRecordFieldCell)
{
Record rec = e.TableCellIdentity.DisplayElement.GetRecord();
if (e.Style.Text.Contains("2"))
e.Style.BackColor = Color.Red;
if (rec.GetSourceIndex() == 4)
e.Style.Font.Bold = true;
if (e.TableCellIdentity.Column.Name == "Department")
e.Style.ReadOnly = true; //e.Style.Enabled = true;
}
Sample:
http://help.syncfusion.com/support/samples/Grid.Windows/8.1.0.30/F93830.zipRegards,
Rajadurai