-
29 Jun 2009 8:35 AM #1
[FIXED] [2.0rc1] sorting on a treegrid gives strange results
[FIXED] [2.0rc1] sorting on a treegrid gives strange results
Hi,
If you look at http://www.extjs.com/examples-dev/ex...#basictreegrid
When you expand the tree and then sort Author or Genre, the new results sorted is out of alignment with their parents. I was wondering how I could fix this problem since the demo did not address this.
Thanks
-
30 Jun 2009 8:00 AM #2
TreeGrid now supports sorting by column. Right now, sorting will cause the tree grid to be refreshed, therefore removing and select and expand state. We will look to change that in the future. I also added a sortingEnabled config to GridView so you can decide if you want sorting enabled.
Changes are in SVN.
-
1 Jul 2009 8:56 AM #3
Fixed in RC2.
-
16 Jul 2009 2:40 PM #4
TreeGrid sorting in 2.0
TreeGrid sorting in 2.0
I'm still seeing this happening with 2.0 release code ...
-
5 Sep 2011 10:11 AM #5
Hi, development team!
I still have this problem in 2.2.3 version. My TreeGrid is bound to TreeStore. When I call TreeStore.sort() method the whole TreeGrid reorders but loses select and expand state. Is it possible to force TreeGrid save its state during sorting and how?
This issue is very critical for me, please help!
-
5 Sep 2011 10:19 AM #6
I do not see how this is related to the bug report. If you make your treegrid statefull, it will auto expand again (http://www.sencha.com/examples/#asynctreegrid). If you require to also persist selection, than you need to manually add this feature, as GXT is currently not doing this.
-
23 Aug 2012 8:59 AM #7
Hi,
Even I can see the issue is still there.
I am checking this example:
http://www.sencha.com/examples/#ExamplePlace:reorderingtreegrid
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote