ASPxGridLookup.SelectionMode Property
Gets or sets a value that specifies item selection behavior.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v19.1.dll
Declaration
[DefaultValue(GridLookupSelectionMode.Single)]
public GridLookupSelectionMode SelectionMode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
GridLookupSelectionMode | **Single** | One of the GridLookupSelectionMode enumeration values. |
Available values:
Name | Description |
---|---|
Single | Only one list item can be selected at one time. |
Multiple | Multiple items can be selected within the editor’s dropdown list. |
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