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
close icon

Multiple Grid header

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,

Leema

3 Replies

AD Administrator Syncfusion Team December 27, 2006 08:40 AM UTC

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.
MasterRelationReset.zip

Best Regards,
Haneef


AD Administrator Syncfusion Team December 27, 2006 10:20 AM UTC

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.



AD Administrator Syncfusion Team December 27, 2006 11:49 AM UTC

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.
MasterRelationReset.zip

Best Regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon