Tab

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.v21.2.dll

Declaration

[DefaultValue(false)]
public bool AllowSelectSingleRowOnly { get; set; }

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
.SettingsBehavior.AllowSelectSingleRowOnly
ASP.NET MVC Extensions GridViewSettings
.SettingsBehavior.AllowSelectSingleRowOnly
GridViewSettings<RowType>
.SettingsBehavior.AllowSelectSingleRowOnly
MVCxGridView
.SettingsBehavior.AllowSelectSingleRowOnly
MVCxGridViewProperties
.SettingsBehavior.AllowSelectSingleRowOnly
ASP.NET Web Forms Controls ASPxGridView
.SettingsBehavior.AllowSelectSingleRowOnly
GridViewProperties
.SettingsBehavior.AllowSelectSingleRowOnly

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