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

Remove grouping / nested grid from GroupingGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

118092 Jan 30,2015 06:31 PM UTC Feb 3,2015 04:11 AM UTC WinForms 3
loading
Tags: GridGroupingControl
Frank Piplak
Asked On January 30, 2015 06:31 PM UTC

Hello,

how is it possible to remove column from the Drop Area to remove grouping / nested grid from the GroupingGrid (sorry but I found no example) .

Using VB, many thanks.

Best regards,
Frank

Muthukumar Kalyanasundaram [Syncfusion]
Replied On February 2, 2015 05:42 PM UTC

Hi Frank,

 

Thank you for your interest in Syncfusion products.

 

If you want to remove the grouping to grid, you can enable ShowGroupDropArea property and you can removed the any grouped column by using Groupedcolumn.Remove() method. Please refer the below code,

 

Code:

Me.gridGroupingControl1.ShowGroupDropArea = True

Me.gridGroupingControl1.TableDescriptor.GroupedColumns.Add("FirstName")

Me.gridGroupingControl1.TableDescriptor.GroupedColumns.Add("LastName")

Me.gridGroupingControl1.TableDescriptor.GroupedColumns.Remove("FirstName")' grouped column has been removed

 

Please let us know if you have any concern.

 

Regards,

Muthukumar K

 


Frank Piplak
Replied On February 2, 2015 06:30 PM UTC

Hello Muthukumar,

with your example I found the solution (Me.gridGroupingControl1.TableDescriptor.GroupedColumns.Clear()).

Many thanks.

Best regards,
Frank

Muthukumar Kalyanasundaram [Syncfusion]
Replied On February 3, 2015 04:11 AM UTC

Hi Frank,

 

We are glad to hear that the reported issue has been resolved. Please let us know if you need any further assistance.

 

Regards,

Muthukumar K


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

;