selectionLevel

selectionLevel: undefined | number

Boundary level of selection used by the table. The table requests data for selection changes whose level is less than level and changes selection at this level.

Examples:

  • selectionLevel = 0
    • selection change happens at level 0 - selected rows are adjusted based on new selection at level 0.
    • selection change happens at level 1 or higher - nothing happens.
  • selectionLevel = 1
    • selection change happens at level 0 - dataProvider.keys is set to current selection. This reloads the data in the table.
    • selection change happens at level 1 - selected rows are adjusted based on new selection at level 1.
    • selection change happens at level 2 or higher - nothing happens.

Defaults to 1.

see Selection levels documentation section.

Defined in

Last Updated: 20 June, 2023