23 Jan 2013 4:05 AM #1
Unanswered: Ext.ux.touch.grid pagination on scroll
I have been working with Ext.ux.touch.grid plugin for ST2 from past 2 months.
Now I need the grid to load the data on scroll, like listpaging in sencha.
The pagination must occur as we scroll the grid vertically upward and downwards.
I have a single store with over 1000 records.
And the store is static, I mean I don’t use any proxy config to get the data for the store.
The reason why I need pagination is coz , the app crashes if I refer the huge store to the grid at a go.
Please help me out with this.
25 Jan 2013 6:21 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
So you have 1,000 records in your store? Paging will require you load only the page requested from a server or localstorage. Ext.ux.touch.grid.List should support the new list in ST 2.1.0 which supports infinite data so it won't render 1,000 rows.
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 Feb 2013 10:15 PM #3