AD
Administrator
Syncfusion Team
December 8, 2006 12:22 PM UTC
Hi Ejaz,
You can handle the QueryCellStyleInfo event to customize the ExtraSection cells in a grid.
Please refer this code snippet:
private void gridGroupingControl1_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
{
Element el = e.TableCellIdentity.DisplayElement;
if (el is ExtraSection)
{
e.Style.CellType = "Header";
e.Style.Text = "ExtraSectionCell";
e.Style.Font = new GridFontInfo(new Font(e.Style.GdipFont ,FontStyle.Bold));
}
}
Best Regards,
Jeba.