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. (Last updated on: November 16, 2018).
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 07:41 AM UTC Aug 25,2005 08:08 AM UTC WinForms 1
loading
Tags: Grouping
Thabo
Asked On August 25, 2005 07:41 AM UTC

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 08:08 AM UTC

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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

;