Elements removed from DOM

112 views
Skip to first unread message

Maya Bowman

unread,
Dec 17, 2020, 4:37:18 PM12/17/20
to jsTree
Hello,

Is there any way to configure jsTree so that markup is not removed from the DOM when a node is closed?

Thanks in advance for feedback!

jplevene

unread,
Feb 20, 2021, 7:15:44 AM2/20/21
to jsTree
You should use the node data and not address the DOM.  

By removing the nodes from the DOM, makes the tree faster in the browser for large trees and collapsed nodes.  This is why REACT works from the memory and not the DOM

Reply all
Reply to author
Forward
0 new messages