Closed shrey-code closed 1 year ago
This seems like a problem with saving the modified tree to the server side. There is nothing jstree can do with that - make sure you are copying the source node along with its children on the back-end. Let me know if I can help further.
I,m also implementing a tree using jstree ,i need to do copy-paste operation.But i'm not able to copy a node (parent with children) and paste it to some other node. Copy and paste operation are going smooth. but when i save the tree it doesn't updates the UI like this
Initial Structure
Assume this is my tree.I need to copy() NFR along with its child nodes and need to paste under Project Vision Statement. After copy and paste it shows the changes like this
But when i save the tree and again re open it, the rendered tree body appears like this
How do i let the child nodes of NFR to be rendered alongside with NFR?