1 Nov 2012 7:24 AM #1
Unanswered: Can I temporarily disable NestedList Sort?
I have a sort set for a NestedList store. If I change any property in any record, it forces a sort (and scroll to top) for the entire list for every change.
Sort seems to be very slow and a lot of sorts (15 records changed so 15 sorts) is noticeable to the user.
I tried setting the store's sort to [ ] but then the displayed list gets reordered.
Is there any way to disable the sort when I know I am changing many records or when I know I am NOT changing a sort field?
And how do I keep it from scrolling to the top?
3 Nov 2012 4:46 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
For the scrolling to top you can try using the scrollToTopOnRefresh config on the list (so in listConfig)Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
3 Nov 2012 3:33 PM #3
Thank you for the scrollToTopOnRefresh.
Should I be submitting the other problems as Bugs?
10 Sep 2013 1:56 AM #4
How can i prevent sorting in sencha touch?
I have applied sorting to store of List View. But then after i want to prevent that sorting. How can i do that in sencha touch latest?