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

Hide Extra Headers in GDBGTreeLines

I am using a GDBGTTree lines grid, depending on the no. of Datarelations I am adding, the same no. of headers are also added. How do I show only 1 header irrespective of the relations that are added.

I have highlighted the headers in the jpg attached.



Extra Header.zip

2 Replies

AD Administrator Syncfusion Team April 3, 2008 12:17 AM UTC

Hi Raul,

Thank you for your interest in Syncfusion products.

To hide the extra headers of the relation, you need set the ShowHeader property of the HierarchyLevel to false. Please refer the sample code for more details.

level1 = this.dgrd.Binder.AddRelation("Parent2Child");
level1.ShowHeaders = false;



Here is the minimal sample that implement this task.
http://websamples.syncfusion.com/samples/Grid.Windows/F72729/main.htm

Please let me know if this helps.

Best Regards,
Srirajan




RD Raul Dsouza April 3, 2008 06:22 AM UTC

Hi,

Thanks for the quick response. Its really overwhelming to use yr products and also rec. quick response's for it.

Thanks,
Raul D'souza


Loader.
Live Chat Icon For mobile
Up arrow icon