Tab
A newer version of this page is available. Switch to the current version.

ASPxGridLookup.SelectionMode Property

Gets or sets a value that specifies item selection behavior.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(GridLookupSelectionMode.Single)]
public GridLookupSelectionMode SelectionMode { get; set; }
<DefaultValue(GridLookupSelectionMode.Single)>
Public Property SelectionMode As GridLookupSelectionMode

Property Value

Type Default Description
GridLookupSelectionMode

Single

One of the GridLookupSelectionMode enumeration values.

Remarks

The SelectionMode property specifies how many list items (grid rows) can be selected simulateneously within the dropdown ASPxGridView control.

For more information about available selection modes, read the Selection Modes topic.

NOTE
  • When the multiple selection mode is enabled (the SelectionMode property is set to Multiple), incremental filtering does not work.
  • A drop-down grid does not synchronize a focused row with the text displayed in the GridLookup editor when a user sorts grid columns in single-selection mode.
NOTE

The SelectionMode property synchronizes its value with the ASPxGridViewBehaviorSettings.AllowSelectSingleRowOnly property (which can be accessed through the GridViewProperties.SettingsBehavior property).

See Also