Enhancement
Tree components currently have the "selection" channel. This provides the selected object.
Problem
If the selected object appears several times in the tree, it is not yet possible to distinguish which line was selected. However, this can be important, e.g. to allow the execution of a command only on certain lines or levels in the tree.
Request
In addition to the "selection" channel, a further "selectionPath" channel should be offered, which provides the selection path of the selected object. The selected object would always be the last object in this path, but the tree nodes above it would also be provided, so that the selected line could be clearly determined.
Test
- TestTreeSelectionPath.script.xml
- TestTreeTableSelectionPath.script.xml
- TestTreeGridSelectionPath.script.xml