Skip to main content
A newer version of this page is available. .
Tab

ASPxGridViewBehaviorSettings.ColumnMoveMode Property

Gets or sets a value that defines how ASPxGridView columns can be rearranged using drag-and-drop.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(GridColumnMoveMode.AmongSiblings)]
public GridColumnMoveMode ColumnMoveMode { get; set; }

Property Value

Type Default Description
GridColumnMoveMode **AmongSiblings**

One of the GridColumnMoveMode enumeration values.

Available values:

Name Description
AmongSiblings

Grid columns and bands are only allowed to move within their parent band.

ThroughHierarchy

Grid columns and bands are allowed to move between parents and hierarchy levels organizing Data Cell Bands.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ColumnMoveMode
ASP.NET Bootstrap Controls BootstrapGridView
.SettingsBehavior.ColumnMoveMode
ASP.NET Web Forms Controls ASPxGridView
.SettingsBehavior.ColumnMoveMode
GridViewProperties
.SettingsBehavior.ColumnMoveMode
GridViewSettings
.SettingsBehavior.ColumnMoveMode
GridViewSettings<RowType>
.SettingsBehavior.ColumnMoveMode
MVCxGridView
.SettingsBehavior.ColumnMoveMode
MVCxGridViewProperties
.SettingsBehavior.ColumnMoveMode

Remarks

Use this property to specify how an end-user can customize the grid column’s layout using drag-and-drop.

Two modes are available:

  • In the AmongSiblings mode, grid columns are only allowed to be moved within their parent band, and when a parent band is moved, it is moved with all its children.
  • In the ThroughHierarchy mode, columns and bands are allowed to move between parents and hierarchy levels. This mode enables end-users to group columns in Data Cell Bands.
See Also