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

GridGroupingControl: From grouped to non-grouped (flat)

Thread ID:





89516 Aug 26,2009 04:45 PM UTC Sep 1,2009 10:13 AM UTC ASP.NET Web Forms (Classic) 1
Tags: GridGroupingControl
Ville S
Asked On August 26, 2009 04:45 PM UTC


I have retrieved data with LINQ to SQL from database and it's now grouped to the GridGroupingControl. I would like to get it "flatted".

Like in this example:


I would like to get from the lower presentation to upper presentation. Is that possible?

Thanks for any reply!

Rajadurai C [Syncfusion]
Replied On September 1, 2009 10:13 AM UTC

Hi Ville,

Thanks for your interest in Syncfusion Products.

The table can be ungrouped by removing the grouped column from the groupedcolumns collection. Please refer to the following code.

Syncfusion.Windows.Forms.Grid.Grouping.GridTableDescriptor td = this.gridGroupingControl1.GetTableDescriptor ([tablename]);//Employees tablename to be passed as argument
td.GroupedColumns.Remove ("Title");

This displays the grid with ungrouped data.



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