I have a TreeView that loads child nodes through a webservice call when I expand by clicking or by calling .expand() on the node object in javascript.
I need to load (atleast sometimes) large number of child nodes and I would like to be able to quickly server the UI a list of parent nodes that are then by filled with childnodes through the webservice from JS on the client side.
So for example in the $.ready() event start loading childnodes for my tree without expanding them.
The reason is that i have a filter box that searches the treeview structure and therefore I need all the nodes but I dont want to take the performance hit at the first rendering.
Is it possible to call a method like (psuedo) .load_from_webservice() on the Node client objects?
I need to load (atleast sometimes) large number of child nodes and I would like to be able to quickly server the UI a list of parent nodes that are then by filled with childnodes through the webservice from JS on the client side.
So for example in the $.ready() event start loading childnodes for my tree without expanding them.
The reason is that i have a filter box that searches the treeview structure and therefore I need all the nodes but I dont want to take the performance hit at the first rendering.
Is it possible to call a method like (psuedo) .load_from_webservice() on the Node client objects?