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

Change grouping

Hi, How do I block a group of two columns, if you have a column grouped and the user from any other group in place.

"to put the grid outar remove the column that was already in the group" gridGroupingControl in VB.NET?

Follows as an attachment I want.

Thanks



What I want and I do not want_aaa4b968_1e6154f5.zip

2 Replies

TO Tomio April 25, 2011 08:41 PM UTC

Good afternoon.
No more, I can manage.
The code is as follows:

Private Sub gridGrouping_TableControlQueryAllowGroupByColumn(ByVal sender As System.Object, ByVal e As Syncfusion.Windows.Forms.Grid.Grouping.GridQueryAllowGroupByColumnEventArgs) Handles gridGrouping.TableControlQueryAllowGroupByColumn

e.AllowGroupByColumn = False

If e.Reason = GridQueryAllowDragColumnReason.MouseUp Then

gridGrouping.TableDescriptor.GroupedColumns.Clear()

gridGrouping.TableDescriptor.GroupedColumns.Add(e.Column)

End If

End Sub

Regards,
Tomio



CI Christopher Issac Sunder K Syncfusion Team April 26, 2011 12:21 PM UTC

Hi Tomio,

Thank you for your interest in Syncfusion products.

We glad to hear that the issue got resolved in your end.

Let us know if you have any other concerns.

Regards,
Christo.


Loader.
Live Chat Icon For mobile
Up arrow icon