For NG1, I can style the selected node for a DBTreeview with a background color spanning over the whole width and allowing the selection of the node in any part of the row.
With Developer 2023.12 and using NG2, I use the selector
.tree-node-active {
background-color: #b2d8ff;
}
which has 2 drawbacks. Clicking on a level 1 node, it also selects ALL of the child nodes, which of course is not wanted as it is senseless. Second, selecting the node somewhere outside of the text does NOT select the node.
I am looking for a node styling which allows the selection of the node outside the text as well, i. e. selecting the node anywhere in the row, and of course does not select all child node when selecting the parent node (level 1 node in my case).
See in the attached screenshots the selection of a level 2 node (which looks good but selection happens only when clicking on the text part), and the selection of a level 1 node “automatically” selects ALL child nodes.
This seems to be a bug or I am missing the correct styling selector(s)?
Regards,