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

Table RecordExpanded

Thread ID:

Created:

Updated:

Platform:

Replies:

33595 Aug 23,2005 10:22 AM UTC Aug 23,2005 01:07 PM UTC Windows Forms 5
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On August 23, 2005 10:22 AM UTC

How can I find out if the records of a table are expanded. Is there a property or function to get the record status of a table?

Administrator [Syncfusion]
Replied On August 23, 2005 10:27 AM UTC

Given a GridRecord, you can test record.IsExpanded to see if it is expanded.

Administrator [Syncfusion]
Replied On August 23, 2005 10:55 AM UTC

Hmm ok thanks, but I want to know if the whole table is expanded - how can I get this?

Administrator [Syncfusion]
Replied On August 23, 2005 10:59 AM UTC

You can loop through Table.FilteredRecords, checking IsExpanded on each record.

Administrator [Syncfusion]
Replied On August 23, 2005 11:31 AM UTC

Ok I think I have to be a bit more precise. I have three columns in a dataset which is bound to gridgrouping control. (e.g. "One" "Two" "Three") Now the user expands table "Two". Later on I want to know which tables are expanded and which not. How can I do this. And how can I expand a special table (like "C") via Code. Tanks in advance >You can loop through Table.FilteredRecords, checking IsExpanded on each record.

Administrator [Syncfusion]
Replied On August 23, 2005 01:07 PM UTC

I assume you mean you have three DataTables in a DataSet, and not columns. If I understand what you are saying, try this.gridGroupingControl1.Table.Records[0].NestedTables["Two"].IsExpanded = true;

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

;