AD
Administrator
Syncfusion Team
March 20, 2007 04:48 PM UTC
Hi Brian,
One way you can do this by handling the PrepareViewStyleInfo event of the GridGroupDropArea and set the e.Style.CellType to "Header" for the ColumnHeaderCell. Here is a sample code snippet to show this.
this.gridGroupingControl1.GridGroupDropArea.PrepareViewStyleInfo += new GridPrepareViewStyleInfoEventHandler(GridGroupDropArea_PrepareViewStyleInfo);
void GridGroupDropArea_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e)
{
if (e.Style.CellType == "ColumnHeaderCell")
e.Style.CellType = "Header";
}
Best regards,
Haneef
BS
Brian Schlatter
March 20, 2007 06:30 PM UTC
Thanks Haneef, that did it.