Dear Customer,
Thanks for your interest in Syncfusion products.
The cell specific properties like BackColor (other than CellValue or Text) cannot be set using an indexer. In GridGroupingControl, the only data storage is the bound datasource which holds a single value. It does not hold TextColor, or Backcolor, or any of the other many cell specific properties. In order to set cell specific properties in the GridGroupingControl, you have to handle QueryCellStyleInfo event handler.
Please refer to the following code example.
//QueryCellStyleInfo event
void gridGroupingControl1_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
{
if (e.TableCellIdentity.ColIndex == 5 && e.TableCellIdentity.RowIndex > 3)
{
if (int.Parse(e.Style.Text) > 75)
e.Style.BackColor = Color.Blue;
else
e.Style.BackColor = Color.Pink;
}
}
Regards,
Venkat.