Topic: Use cookies to remember expanded nodes
It would be nice to store IDs of expanded nodes in cookies to auto-open them if the page is reloaded.
T>
You are not logged in. Please login or register.
Pages 1
It would be nice to store IDs of expanded nodes in cookies to auto-open them if the page is reloaded.
T>
Sure ! Prototype.js Tafel tree do this and it's very usefull
Definitely needed feature! Please Moro, implement it ...
seems that it doesn't works with onLoadChildren json. it fails on restore method.
node is undefined
[Break on this error] node.toggle(true);
added check if node exists rev64.
storage.restore restore nodes which exists. Try add
tree.addEvent('loadChildren', function(){
storage.restore();
});Nop ! Doesn't do nothing
... What I've missed ?
Last edited by scramatte (2009-04-10 17:48:31)
don't know, works for me. I'm update demo, it's load children for one node and restore state using code from my previous post.
Posts [ 8 ]
Pages 1
Powered by PunBB