Hiding tables/nested tables that don''t have any records

I am using the GridGrouping Control and I am setting its datasource to custom objects that I created that expose a binding list for each custom collection class. However, even if one of my collections has no items within it, the column header row still gets displayed on the control. How can I make it so only collections that have items get displayed on the grid and not display the collections that don't have items?

1 Reply

JJ Jisha Joy Syncfusion Team March 22, 2010 07:31 AM UTC

Hi Ian,

Please refer the follwing KB article that shows how to hide nested table that does not have child.

http://www.syncfusion.com/support/kb/721/How-to-hide-the-ChildTable-that-doesn

Sample can be accessed from the following link:
http://help.syncfusion.com/samples/kb/grid.windows/GGCHideEmptyChildTable/main.htm

Regards,
Jisha

Loader.
Up arrow icon