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.
Syncfusion Feedback

Checking if a Parent Table row has a Child Table

Thread ID:

Created:

Updated:

Platform:

Replies:

33736 Aug 25,2005 03:41 AM Aug 25,2005 04:08 AM Windows Forms 1
loading
Tags: Grouping
Thabo
Asked On August 25, 2005 03:41 AM

Hi, I would like to know how you check if a row on a GGC is expandable. When iterating through the rows on a GGC grid, how do i check if a row can be expanded i.e. how do i check if a row has a child table.

Administrator [Syncfusion]
Replied On August 25, 2005 04:08 AM

Given a GridRecord, rec, you can use code like this to test to see if it is expanded or has child records: Console.WriteLine(rec.IsExpanded); Console.WriteLine(rec.NestedTables.Count > 0 && rec.NestedTables[0].Records.Count> 0);

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.

Warning Icon 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.Close Icon

;