PDA

View Full Version : Tree / TreeGrid - remember opened nodes?



oobi
13 Feb 2011, 2:30 PM
Hi all,

Wondering how to make the TreeGrid remember (via cookie) previously opened nodes? What I want to do is have it re-open whatever was previously opened.

It's an ASYNC tree also, if that makes a difference.

I'm looking for functionality similar to this:
http://www.jstree.com/documentation/cookies

Does it already exist somewhere in Ext?

oobi
13 Feb 2011, 3:01 PM
ah never mind --
http://examples.extjs.eu/

there is a great example here under "State" which does exactly the right thing!

thanks, Saki!