Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Update/reload a selected node, possible?

Iv been working on a project with fancytree as a tree-view. works grate with Ajax and server calls. How ever. I still wonder if its possible to reload a selected node to get updated regarding its children? Iv seen and tried theReload() function. But it seems it only reloads the either tree-structure and that would not be necessary.

Otherwise, do you know of any other tree-view that supports this kind of node-reload?

like image 309
Jonas Lindahl Avatar asked Mar 18 '14 22:03

Jonas Lindahl


1 Answers

There is also node.load(forceReload=false) and node.resetLazy().

See here for an overview: http://www.wwwendt.de/tech/fancytree/doc/jsdoc/FancytreeNode.html

like image 178
mar10 Avatar answered Sep 19 '22 07:09

mar10