enhancement
major
minor
major
minor
With #26680, tables and trees now have a consistent multi-selection logic. However, so far only the Grid can display multi-selection using checkboxes. All other components rely on the Ctrl and Shift modifier keys to make multiple selections.
Improvement
Redesign the selection column—which is already present in all tables—so that a checkbox is displayed in it when multi-selection is enabled. The checkbox in the Grid’s “technical column” can then be removed.
Implementation
The radio buttons or checkboxes for selection are now used for all table-like components (tree table, tree grid, grid, and table). They are displayed in the “Row Selection” column (tech. _select). No selection markers are displayed in the grid’s technical column (tech. _self) anymore. If no detail dialog is configured to be displayed there, the (empty) column is not rendered at all.
There are therefore the following 4 cases for the display of the row selection and technical column of a grid:
- Single selection
- Single selection with detail dialog
- Multiple selection
- Multiple selection with detail dialog
Test
Check the implementation in the Technical Demo > Components > Tables and Trees view.