Highlight all children when selecting a node (in table)

13 skatījumi
Pāriet uz pirmo nelasīto ziņojumu

Fabre Lambeau

nelasīta,
2021. gada 1. okt. 09:21:2101.10.21
uz Fancytree Q&A
I'm searching for a way to use the tree table format, and to achieve the following:
When the user clicks on a row in the table, if that row is a folder (has children), all of its children should get highlighted (ideally with a different color than the selected node).

This is to better highlight the hierarchical nature of a complex and long tree, and be able to easily see what all the children of a node are.

Notice this should work even if the children (or their children) are collapsed. When expanded, they should show the same highlight

Thanks
Atbildēt visiem
Atbildēt autoram
Pārsūtīt
0 jauni ziņojumi