The column width for the Grid Grouping control can be set by using the TableDescriptor.Columns[“index”].Width property. The column width can also be set by using the TablModel.QueryColWidth() event handler.
By using the GridColumnDescriptor:
In the given code example, the column width is set for the second column.
By using the QueryColWidth Event:
In the following event handler, the column width of the Grid Grouping control is set for the third column.
The following screenshot displays the column width set for the Grid Grouping control.
Note: In the GridColumnDescriptor, it takes the column in a zero based index whereas in the QueryColWidth event, ‘e.Index’ takes the column index from one.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|