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.

Field ordering in GridControl

Thread ID:

Created:

Updated:

Platform:

Replies:

59274 Apr 10,2007 07:10 AM Apr 10,2007 07:15 AM Windows Forms 1
loading
Tags: GridControl
Vladymyr
Asked On April 10, 2007 07:10 AM

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.

Administrator [Syncfusion]
Replied On April 10, 2007 07:15 AM

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);

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

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.

;