CI
Christopher Issac Sunder K
Syncfusion Team
July 8, 2010 08:43 AM UTC
Hi Ben,
Thanks for your interest in Syncfusion Products.
In GridGroupingControl, individual cell styles cannot be set through TableModel. There are certain events available to achieve this purpose: QueryCellStyleInfo & PrepareViewStyleInfo events.
this.gridGroupingControl1.QueryCellStyleInfo += new GridTableCellStyleInfoEventHandler(gridGroupingControl1_QueryCellStyleInfo);
void gridGroupingControl1_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
{
if (e.TableCellIdentity.RowIndex == 7 && e.TableCellIdentity.ColIndex == 3)
{
e.Style.CellType = "CheckBox";
e.Style.CellValueType = typeof(bool);
}
}
Please let me know if you have any other concerns.
Regards,
Christo