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.
Unfortunately, activation email could not send to your email. Please try again.

Hide Extra Headers in GDBGTreeLines

Thread ID:





72729 Apr 2,2008 09:27 AM Apr 3,2008 02:22 AM Windows Forms 2
Tags: GridControl
Asked On April 2, 2008 09:27 AM

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 2, 2008 08:17 PM

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 02:22 AM


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.

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.