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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Expand Groups

Thread ID:

Created:

Updated:

Platform:

Replies:

41310 Feb 27,2006 05:48 PM UTC Feb 28,2006 08:53 PM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: GridGroupingControl
Driss Selhoum
Asked On February 27, 2006 05:48 PM UTC

Hi, I have a GridGrouping Control Bound to a DataSet which contains a Datarelation. I cannot get the Parent table to be expanded even when I Click on the Plus Button.

Administrator [Syncfusion]
Replied On February 27, 2006 09:17 PM UTC

Hi Driss Have you taken a look at the Hierarchies\HierarchySample that ships with Essential Grid which shows how you can display Hierarchical Data in the Grid. Regards Arun

Administrator [Syncfusion]
Replied On February 28, 2006 02:35 PM UTC

Yes I have, But my problem is I have a DataRelation object inside a DataSet that describes a ParentChild relationship. And I give the DataSet as the DataSource of the GridGroupingControl and when I try to expand the Parent table rows nothing happens. I assume that I have to describe the relationship using the GridGrouping Properties so that it can display the Data correctly. Thank you for your help

Administrator [Syncfusion]
Replied On February 28, 2006 08:53 PM UTC

Hi Essential Grid can display any ADO.NET dataset without further configuration. Set up the dataset with its relations and initialize the grid with the dataset. The grid will automatically extract all column and relation information from the dataset and display its records and relations. I have attached a modified version of the HierarachySample that I was referring to in the earlier post. I took the existing sample and deleted the GridGroupingControl from the form and added a CreateGrid() method that programatically adds the Grid to the WebForm and sets it''s DataSource property. Since you are adding the Grid programatically ensure that you have the proper references to all the required assembllies as noted in the Using GridGroupingControl section of the Users Guide. Regards Arun

HierarchySample_cs.zip

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

;