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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Field ordering in GridControl

Thread ID:





59274 Apr 10,2007 11:10 AM UTC Apr 10,2007 11:15 AM UTC WinForms 1
Tags: GridControl
Asked On April 10, 2007 11:10 AM UTC

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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon