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

Serverside Grouping

Thread ID:





100824 Sep 8,2011 09:43 AM UTC Sep 19,2011 07:23 AM UTC WPF 1
Tags: GridControl
Darran White
Asked On September 8, 2011 09:43 AM UTC

We`re evaluating your GridControl product at the moment.
We would like to do Client side grouping and I`d liek to know how easy this is to do with your GridControl.

If possible we would like to hook into your current grouping but do the actual grouping and aggregating for summaries on the server. So when a user applies grouping the aggregating will occur on the sever for summaries. When they click expand on child rows this will send a message to the server to get the grouped child rows. Is this currently possible with your Grid?
If not could similar functionality be applied using your Master-Child tables?



Rajasekar [Syncfusion]
Replied On September 19, 2011 07:23 AM UTC

Hi Darran,

Thank you for your update.

We have checked with your requirement but you cannot bind the exact grouped collections to the particular GridDataTableModel to the Child Model in the server side. But, you can set the ItemsSource of the child model dynamically using the RecordExpanding event of the GridDataControl.Model.Table like below

Code Snippet[C#]

this.dataGrid.Model.Table.RecordExpanding += new GridDataRecordExpandingEventHandler(Table_RecordExpanding);

void Table_RecordExpanding(object sender, GridDataRecordExpandingEventArgs args)
string connectionString = string.Format(@"Data Source = {0}", "Northwind.sdf");
Nwind = new Northwind(connectionString);

//dynamically binding the data to child table
args.ChildItemsSource = Nwind.OrderDetails;

args.Handled = true;

We have created a sample based on your requirement, In which we have controlled the number of records to be displayed in the child table.

Sample:< http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=NestedChildDemo-1878810287.zip >

Note: The similar query is posted in the Incident #84651, Please update your queries in that respective incident for better follow up.

Please let us know if you have any queries.



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

This page will automatically be redirected to the 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