New to Telerik UI for WinFormsStart a free 30-day trial

Reordering Columns

Updated over 6 months ago

RadGridView control supports column reordering by the user at run-time. The user has just to drag the desired column's header at the desired position among the other headers and drop it there. In the RadGridView control, the AllowColumnReorder property value determines whether users can move columns to different positions.

Allow or disallow column reordering

C#
radGridView1.AllowColumnReorder = true;

Figure 1: Reorder columns in RadGridView

WinForms RadGridView Reorder Columns in RadGridView

Reordering Columns Programmatically

In order to reorder columns in RadGridView programmatically you should use the Move method of the RadGridView Columns collection:

Reordering columns programmatically

C#
radGridView1.Columns.Move(5, 0);
radGridView1.Columns.Move(4, 1);

See Also