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

How to format the GroupDropArea of a GridGroupingControl?

The Grouping Area of the GridGroupingControl is a panel capable of holding multiple Grid controls stacked vertically with a definite number of rows and columns in a manner of one Grid control row per table bound to the GridGroupingControl. Its visibility can be toggled. By default, only one Grid control row is visible in the group drop area for the parent table (main table) field’s accommodation. Each of its column can be formatted by using the PrepareViewStyleInfo event. There is also a Splitter beneath the Grouping Area separating it from the record view.

 Formatting of the Splitter and GroupDropPanel

C#

VB

GroupDropArea for the ChildTable

The GroupDropArea for each of the Grids can be taken by looping through the controls in the panel, by this you can get the PrepareViewStyleInfo for all the child tables on the FormLoad().

C#

VB

PrepareViewStyleInfo

The following code example is for styling the child table GroupDropArea on the PrepareViewStyleInfo event.

C#

VB

The following code example is for the GridGroupingControl.GridGroupDropArea PrepareViewStyleInfoEvent.

C#

VB

 

 

Sample Links

GroupDropArea-C#

GroupDropArea-VB

Article ID: Published Date: Last Revised Date: Platform: Control:
692 04/30/2011 03/09/2015 Windows Forms GridGroupingControl
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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