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.

Problem with empty nested tables

Thread ID:

Created:

Updated:

Platform:

Replies:

97916 Jan 19,2011 12:50 PM Jan 20,2011 06:21 AM Windows Forms 1
loading
Tags: GridControl
Ivan Moreira
Asked On January 19, 2011 12:50 PM

Hello,

Right now, I`m having some problem with not showing empty child/nested table. I have something like this:
Table1 has 1 nested table called Table2
Table2 has 2 nested table called Table3 and Table4, but for each row in Table2 only one of the nested tables will have data.

The problem I`m facing right now, is the empty table always show it`s headers, even when it has no data.

I tried using:

grid.ChildGroupOptions.ShowEmptyGroups = False
grid.NestedTableGroupOptions.ShowEmptyGroups = False

and for the GridRelationDescriptor that declares the relation between Table2 and Table3 and Table4 I tried this:

gridRelationDescriptor.ChildTableDescriptor.ChildGroupOptions.ShowEmptyGroups = False
gridRelationDescriptor.ChildTableDescriptor.TopLevelGroupOptions.ShowEmptyGroups = False


Neither worked. Can you guys help me?


Jisha Joy [Syncfusion]
Replied On January 20, 2011 06:21 AM

Hi Ivan,

You could obtain the KB article 'to conditionally hide the plus minus button when there is no child records to show up' from the following link:

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


Sample mentioned in the kb can be obtained from the following link:

http://help.syncfusion.com/samples/kb/grid.windows/GGCHideEmptyChildTable/HideEmptyChildTables.zip


Please let me know if you have any queries.

Regards,
Jisha



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.

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.

;