Clicking on the Columns (or VisibleColumns) property of the Grid's TableDescriptor launches the GridColumnDescriptor Collection Editor, where you select a column and click on the Up or Down arrow to rearrange the display order. To programatically change the display order of columns in the Grid: C# //Make the Col4 to be the first column to be displayed in the grid this.GridGroupingControl1.TableDescriptor.VisibleColumns[0].Name = "Col4"; VB 'Make the Col4 to be the first column to be displayed in the grid Me.GridGroupingControl1.TableDescriptor.VisibleColumns(0).Name = "Col4" |
This page will automatically be redirected to the sign-in page in 10 seconds.
It change the column name, not the order.
Hi,
How can I receive an event when the order of a column changes .to save the new order in a file.
thanks
in Gridgroupingcontrol ???
This is changing column name not display order.