AllowUserReorder Property

Gets or sets a value indicating whether the user can drag the header to reorder the rows and columns.

Syntax

Public Property AllowUserReorder As ReorderMode

Applies To

Grid Object

Data Type

Enumerated

The following settings are available:

Constant Value Description
None 0(Default) Can not reorder rows and columns.
Rows 1 Users may move rows by dragging their headings.
Columns 2 Users may move columns by dragging their headings.
Both 3 Users may move rows and columns by dragging their headings.


Remarks

When you enable column reordering in the grid control, please hold down the left mouse button on the column header and don't move the mouse pointer, until you see the mouse pointer changes to arrow with a dotted rectangle, and then you can move that column to a new position.