mmalinowski42 / dynatree

Automatically exported from code.google.com/p/dynatree
0 stars 0 forks source link

Allow a node to be CSS-hidden #485

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What new or enhanced feature are you proposing?
I'd like to be able to hide a node in the CSS sense: "display:none" (so it 
still exists, but just isn't visible) and have the list CSS-visible node get 
assigned a "dynatree-lastsib" class appropriately. This is not to be confused 
with collapsing a node.

What goal would this enhancement help you achieve?
This would allow me to hide/show certain sets of nodes using css only. The goal 
is to offer a "simplified" tree to new users with fewer nodes but allow them to 
toggle the view other other nodes without actually re-rendering the tree (and 
potentially affecting the persistence). Perhaps a new node.hideFromView method 
might work.

Original issue reported on code.google.com by john.bra...@gmail.com on 24 Apr 2014 at 8:30

GoogleCodeExporter commented 9 years ago
Just hiding he node would break keyboard navigation.
I don't add new features to Dynatree anymore, but you might want to check the 
'filter' extension of Fancytree

Original comment by moo...@wwwendt.de on 27 Apr 2014 at 2:39

GoogleCodeExporter commented 9 years ago
This is helpful. Thank you.

Original comment by john.bra...@gmail.com on 29 Apr 2014 at 5:01

GoogleCodeExporter commented 9 years ago
Cleanup Scrumboard

Original comment by moo...@wwwendt.de on 2 May 2014 at 7:47