GridOptionsDragDrop.AllowSortedDataDragDrop Property
Gets or sets a value that specifies whether the user can reorder data rows within the GridView
if data sorting is applied.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool AllowSortedDataDragDrop { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Boolean | true | true to allow the user to reorder data rows within the |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Allow |
---|---|
Grid |
|
#Remarks
When the AllowSortedDataDragDrop
option is enabled and the GridView is sorted, the GridView automatically changes the value in the cell(s) of the sorted column(s) after the user drops a data row in a different position.
The AllowSortedDataDragDrop
option has no effect if the sorted column is read-only.
Read the following topic for additional information: Drag-and-Drop Grid Rows.
Note
Attach the Drag-and-Drop Behavior to the Grid