I have loaded a jsTree with an AJAX call that returns JSON data. How can I refresh the tree so that it reloads its contents?
At version 3 you can reload the tree :
$('#treeId').jstree(true).settings.core.data = newData; $('#treeId').jstree(true).refresh();