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.
Syncfusion Feedback

Hide Extra Headers in GDBGTreeLines

Thread ID:

Created:

Updated:

Platform:

Replies:

72729 Apr 2,2008 01:27 PM UTC Apr 3,2008 06:22 AM UTC Windows Forms 2
loading
Tags: GridControl
Raul
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.
http://websamples.syncfusion.com/samples/Grid.Windows/F72729/main.htm

Please let me know if this helps.

Best Regards,
Srirajan



Raul Dsouza
Replied On 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


CONFIRMATION

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.

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

;