PDA

View Full Version : Avoid that sorting a treegrid collapses all nodes ?



Nico33
16 Dec 2009, 12:03 AM
Hi all,

if I look at this sample : http://www.extjs.com/examples/explorer.html#basictreegrid and if I expand some nodes and after I click on the author collumn to sort them, all nodes are collapsed.

Is there a way to keep the nodes opened/closed as it was before sorting ?

Thanks in advance for your answer

Nico33
17 Dec 2009, 12:53 AM
no idea ? this is not possible ? :(

Nico33
21 Dec 2009, 2:36 AM
Maybe what I wrote is not understandable, you need me to explain again?

sven
30 Dec 2009, 2:53 AM
simple make the grid stateful. ALso take a look at this example http://www.extjs.com/examples/explorer.html#remotesorttreegrid

Nico33
30 Dec 2009, 2:58 AM
=D>

Great, this is what i needed.

Thanks for your answer.
Best regards