How to control the visibility of column headers?
The ShowColumnHeaders property in the TopLevelGroupOptions, controls the visibility of the columns at the top(root) level. Similarly the ShowColumnHeaders property in the NestedTableGroupOptions, controls the visibility of the columns in the nested tables. Please refer the below code snippet which illustrates this:
C#
//Top level
this.GridGroupingControl1.TopLevelGroupOptions.ShowColumnHeaders = false;
//Nested table
this.GridGroupingControl1.NestedTableGroupOptions.ShowColumnHeaders = false;
VB
'Top level
Me.GridGroupingControl1.TopLevelGroupOptions.ShowColumnHeaders = False
'Nested table
Me.GridGroupingControl1.NestedTableGroupOptions.ShowColumnHeaders = False
Sample:
http://help.syncfusion.com/support/samples/kb/Grid.Web/6.1.0.34/GGCColsheader/Colheader.zip