This is a migrated thread and some comments may be shown as answers.

RadGridView - How to disable drag and drop reordering of columns

1 Answer 446 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 27 Nov 2012, 04:38 PM
Hi, I'd like to disable drag and drop reordering of columns in a RadGridView. I set CanUserSortColumns to false, but this doesn't seem to make a difference. I setup the grid like so:

public static void SetupGrid(RadGridView gc)
{
  gc.IsFilteringAllowed = false;
  gc.CanUserSortColumns = false;
  gc.CanUserSortGroups = false;
  gc.CanUserReorderColumns = false;
  gc.CanUserDeleteRows = false;
  gc.CanUserInsertRows = false;
  gc.ShowGroupPanel = false;
  gc.ShowInsertRow = false;
}

What do I need to do to disable this feature?

1 Answer, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 29 Nov 2012, 03:10 PM
Hi Mike,

There was a bug related to the CanUserReorderColumns property however it has been fixed, and the fix will be available with our service pack this week.

We are sorry for the inconvenience caused! 

Kind regards,
Nik
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Mike
Top achievements
Rank 1
Answers by
Nick
Telerik team
Share this question
or