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.

How to allocate equal size for each of the columns in all the tables of the GridGroupingControl?

The parent/child table’s column width can be set equally in proportion to the grid client’s width by dynamically setting the column’s width in the TableModel.QueryColWidth event handler. When it deals with a nested table, the QueryColWidth event of the entire nested table must be handled to set the respective nested table’s column width.

C#

VB

After applying the properties, the grid looks like the following screenshot.

Figure 1: Equal size allocated to all the columns in all the tables

Sample Links

CS: Allocating equal size for columns

VB: Allocating equal size for columns

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

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.