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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hide Extra Headers in GDBGTreeLines

Thread ID:





72729 Apr 2,2008 01:27 PM UTC Apr 3,2008 06:22 AM UTC WinForms 2
Tags: GridControl
Asked On April 2, 2008 01:27 PM UTC

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

Administrator [Syncfusion]
Replied On 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.

Please let me know if this helps.

Best Regards,

Raul Dsouza
Replied On April 3, 2008 06:22 AM UTC


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

Raul D'souza


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon