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.

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

Thread ID:





93504 Mar 17,2010 09:33 AM Mar 22,2010 03:31 AM ASP.NET Web Forms (Classic) 1
Tags: Grouping
Ian Plotkin
Asked On March 17, 2010 09:33 AM

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?

Jisha Joy [Syncfusion]
Replied On March 22, 2010 03:31 AM

Hi Ian,

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


Sample can be accessed from the following link:



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.