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.
Syncfusion Feedback

Change grouping

Thread ID:

Created:

Updated:

Platform:

Replies:

99054 Apr 20,2011 02:59 PM UTC Apr 26,2011 12:21 PM UTC Windows Forms 2
loading
Tags: GridControl
Tomio
Asked On April 20, 2011 02:59 PM UTC

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

Tomio
Replied On 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


Christopher Issac Sunder K [Syncfusion]
Replied On 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.


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

;