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. Image for the cookie policy date

Remove grouping / nested grid from GroupingGrid

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

3 Replies

MK Muthukumar Kalyanasundaram Syncfusion Team 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

 



FP Frank Piplak 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


MK Muthukumar Kalyanasundaram Syncfusion Team 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


Loader.
Live Chat Icon For mobile
Up arrow icon