Specifies options of runtime selection.
dxDataGrid provides users with the capability of selecting grid records at runtime. End-users can perform selection in a single or multiple mode. To specify the required mode, use the mode property of the selection configuration object. You can disable selection completely using the same property.
When the multiple selection mode is specified, a user is capable of selecting all grid records at once using the main check box or the CTRL + A shortcut. To disable this feature, set the allowSelectAll option to false.
Furthermore, you can perform specific actions when a grid record has been selected/deselected. For additional information, refer to the selectionChanged option description.
For a structured overview of dxDataGrid selection capabilities, see the Selection article.
Specifies whether the user can select all grid records at once.
In a multiple selection mode, several records can be selected in a grid at runtime. Additionally, dxDataGrid provides a capability for the user to select all grid records at once. For this purpose, he or she can use the CTRL + A shortcut or a check box located in the header of the selection column. To disable this capability, set the allowSelectAll option to false.
In this example, you can change the value of the selection | allowSelectAll option by toggling the check box under the grid. When this option is true, you can select all grid records at once using the check box in the header of the selection column. When the aforementioned option is false, this check box can be used only to deselect all records.
Specifies the selection mode.