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.

Multiple Grid header

Thread ID:





53994 Dec 27,2006 02:48 AM Dec 27,2006 06:49 AM Windows Forms 3
Tags: GridControl
Asked On December 27, 2006 02:48 AM

hi all,

When binding the griddataboundgrid to the dataset having multiple parent -> child relation,
i m getting multiple headers displayed but i have to show only one header.

suggest me a idea.

thanks in advance,


Administrator [Syncfusion]
Replied On December 27, 2006 03:40 AM

Hi Leema,

Do you want to hide the ChildTable Header? If yes, you can use the ShowHeaders property of the child hierarchylevel to hide/show the column header in a grid.

GridHierarchyLevel childrenLevel = gridDataBoundGrid1.Binder.AddRelation("Parent_Child");
childrenLevel.ShowHeaders = false;

Please refer to the attached sample for implementation.

Best Regards,

Administrator [Syncfusion]
Replied On December 27, 2006 05:20 AM

While reseting the datasource and on setting "level0.ShowHeaders = false" "input string is not in a correct format" error is coming.

Can you suggest me a solution.

Administrator [Syncfusion]
Replied On December 27, 2006 06:49 AM

Hi Leema,

We were not able to reproduce the issue here. Is it possible for you to upload us a sample or modify the attached samples to reproduce the issue here? This will help us to analyse the issue further.

Here is a sample.

Best Regards,


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.