-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Partial node reload #813
Comments
You can use This should work if you're using load on demand: var id = '123';
var node = $('#One').tree('getNodeById', id);
$('#One').tree('loadDataFromUrl', node); |
It works, thanks! Is that method make same thing that updateNode, but in different way? I mean in updateNode we call method and then put json-like data from ajax request(or any other json-ish type array) in it but in loadDataFromUrl we just reload it in auto mode from request. Are those methods quite a bit similar aren't they? |
Yes, they call the same internal methods. |
Closing the issue because the question was answered. |
Hello. Is it possible to reload not all node tree, but only sub-node? I'm using "load_on_demand" option and want to reload sub-tree after, for example, I done something in another js function and want to reload sub-tree to update the list of the nodes from DB.
I already tried something like this:
Is it even possible?
The text was updated successfully, but these errors were encountered: