ASPxGridViewBehaviorSettings.AllowSelectSingleRowOnly Property
Gets or sets a value that specifies whether multiple row selection is available within the ASPxGridView.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v18.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | **false** | true if only a single row can be selected within the grid; false if multiple row selection is available. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to AllowSelectSingleRowOnly |
---|---|---|
ASP.NET Bootstrap Controls | BootstrapGridView |
|
ASP.NET Web Forms Controls | ASPxGridView |
|
GridViewProperties |
|
|
GridViewSettings |
|
|
GridViewSettings<RowType> |
|
|
MVCxGridView |
|
|
MVCxGridViewProperties |
|
Remarks
You can set the grid’s AllowSelectSingleRowOnly property to true to restrict the grid to one selected row at a time. In this mode, check boxes displayed within the command column’s cells are automatically replaced with radio buttons, indicating a single-option selection.
Note
- Rows selection is not supported when cell merging is allowed.
- When ASPxGridView is used as a dropdown grid within ASPxGridLookup, the AllowSelectSingleRowOnly property synchronizes its value with the editor’s ASPxGridLookup.SelectionMode property.
See Also