This code works perfectly.I'm making the tree with constant html.
For refreshing tree , i'm getting html again and destroy my tree and initial it again :
The "data" argument is the html data.
After this operation every plugins works great except dnd plugin.the browser shows a javascript error that related to dnd plugin file.
Also i shouldn't use ajax and json types for initialing the tree.
I'm initialing the jstree using code below :
This code works perfectly.I'm making the tree with constant html. For refreshing tree , i'm getting html again and destroy my tree and initial it again :
The "data" argument is the html data. After this operation every plugins works great except dnd plugin.the browser shows a javascript error that related to dnd plugin file. Also i shouldn't use ajax and json types for initialing the tree.