selection

Configures runtime selection.

Type: Object

A user can select rows in a single or multiple mode. In multiple mode, a user can select all rows at once. To disable this feature, assign false to the allowSelectAll.

See Also

allowSelectAll

Specifies whether a user can select all rows at once.

Type: Boolean
Default Value: true

To select all rows at once, a user presses Ctrl + A or clicks the check box located in the header of the selection column. If you set this option to false, the shortcut and the check box will not select all rows. However, the check box will still clear selection.

mode

Specifies the selection mode.

Type: String
Default Value: 'none'
Accepted Values: 'none' | 'single' | 'multiple'

The following selection modes are available in the widget:

  • Single
    Only one row can be in the selected state at a time.

  • Multiple
    Several rows can be in the selected state at a time.

When using the widget as an ASP.NET MVC Control, specify this option using the SelectionMode enum. This enum accepts the following values: None, Single and Multiple.