AllowColumnReorder Property
Description
Specifies whether GridColumns can be reordered in the GridControl.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property AllowColumnReorder() As Boolean
Remarks
If True, column headers can be reordered in the GridControl by dragging and dropping them to another location. When the column header is in a location that it can be dropped, two red arrows point to the new location where the column header can be dropped. See picture below.

If False, the red arrows will not be displayed and the column header cannot be moved to another location.
Example
This sample illustrates how to disable column reordering by drag and drop.
' This will not allow columns to be reordered by a drag and drop
wndGridControl.AllowColumnReorder = False
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.