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

GridGroupingControl: From grouped to non-grouped (flat)

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hello

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:

http://www.syncfusion.com/products/windows-forms/grid/grouping

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.

Regards,
Rajadurai

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

;