Skip to main content
A newer version of this page is available. .
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.v18.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 Web Forms Controls ASPxGridView
.SettingsBehavior.AllowSelectSingleRowOnly
GridViewProperties
.SettingsBehavior.AllowSelectSingleRowOnly
GridViewSettings
.SettingsBehavior.AllowSelectSingleRowOnly
GridViewSettings<RowType>
.SettingsBehavior.AllowSelectSingleRowOnly
MVCxGridView
.SettingsBehavior.AllowSelectSingleRowOnly
MVCxGridViewProperties
.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 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