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.
Unfortunately, activation email could not send to your email. Please try again.

Remove grouping / nested grid from GroupingGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

118092 Jan 30,2015 01:31 PM Feb 2,2015 11:11 PM Windows Forms 3
loading
Tags: GridGroupingControl
Frank Piplak
Asked On January 30, 2015 01:31 PM

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 12:42 PM

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 01:30 PM

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 2, 2015 11:11 PM

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.

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.

;