PDA

View Full Version : refresh tree node data



gtsafas
6 Aug 2014, 9:17 AM
Is there a way I can tell a lazy tree node to update itself? Right now I am doing



node.collapse();
node.set('loaded', false);
node.removeAll();
node.expand();


Anything else I can do?

slemmon
7 Aug 2014, 10:32 PM
There is not a convenience method to refresh a node. What you have looks about right to flush and re-poll for a specific node's contents.