Adaptable

AdaptableSingleRowSelection

Extends AdaptableRowSelection

Declared in src/modules/view/State.ts

Single row selection can be defined in a view, under the view.selection property.

#Properties

3 props

#mode'single-row'

For single row selection, mode must be set to "single-row".

#persistboolean

Whether the selection is saved with the rest of the state. Defaults to true.

When false, the whole selection object (mode, value, showCheckboxColumn) is left out of the persisted state, so after a reload the view starts from the selection in its initial state. The view's keyboardNavigation is not part of selection and is still persisted.

#valueAdaptableSelectionValueSingleRow

An optional initial value for the single row selection. This will be the primary key of the row to show as selected, or null for no selection.

#Used by