minor
defect
major
minor
major
#28708
Enable Standard Selection in (Tree) Tables and Grids via TL Script
(Tree) tables and grids automatically select an element when they are displayed or after a model change (the "Default Selection" option). Currently, the first selectable row or node element is always selected; it is not possible to control which element is preselected.
A configuration option is needed that allows TL-Script to determine which element should be selected by default.
This mechanism already exists for the selection component (SelectorComponent) in the form of the ` defaultSelectionProvider ` option (interface ` ListSelectionProvider`, TL-Script implementation `ListSelectionProviderByExpression`, which evaluates the function with the parameters `options`, ` model `, and ` lastSelection `). This option should also be made available for tables, tree tables, grids, and trees, so that the default selected element can be determined via TL-Script without requiring a custom Java implementation.