Field ordering in GridControl

Question connected with GridControl.
How can I change the order of fields in the GridControl.
For example I want to change position of the first field of grid(From first to second). The first field will be of second position and second will be on the first position.

1 Reply

AD Administrator Syncfusion Team April 10, 2007 11:15 AM UTC

You can use the GridControl.Cols.MoveRange to reorder columns in a GridControl. To move the first column to the second column, try:

this.gridControl1.Cols.MoveRange(1, 2);

Loader.
Up arrow icon