We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

GGC StackedHeaderRows

Hi, we are using StackedHeaderRows to show headers on a GGC with 4 group levels.
We want an header on top of the table and a group header on top of level 4, that must have different captions.

We have tried to set ChildGroupOptions.ShowStackedHeaders to true, and in this way we get headers for all levels.
Is there a way to show the header only on the top table header and on the last level?
And also we want assign different labels to the top header and the group header

Thanks
LG



1 Reply

JJ Jisha Joy Syncfusion Team July 27, 2009 11:19 AM UTC

Hi Lorenzo,

To have stacked headers also in the child groups, set ChildGroupOptions.ShowStackedHeaders to true, provided that ShowColumnHeaders is also set to true.

this.gridGroupingControl1.ChildGroupOptions.ShowColumnHeaders = true;
this.gridGroupingControl1.ChildGroupOptions.ShowStackedHeaders = true;

Also you could hide the stacked column headers for specific column groups by setting the GroupByOptions.ShowStackedHeaders property to false. See the code:


this.gridGroupingControl1.TableDescriptor.Columns["OrderID"].GroupByOptions.ShowStackedHeaders = false;


Please let me know if this helps.

Regards,
Jisha

Loader.
Live Chat Icon For mobile
Up arrow icon