24 May 2012 2:34 PM #1
Feature suggestions for Ext.plugin.PullRefresh
A suggestion for the PullRefresh plugin:
This is a useful user-interface feature, but sometimes you need to use it on a component that isn't a List. For example, you might use it on a generic Container that contains several data views, all of which need to be refreshed.
For the most part, you can accomplish this by defining a "refreshFn" to load the data yourself. But when you do this, the init() function shouldn't call list.getStore() or list.setLoadingText(null).
26 May 2012 3:47 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
For your application needs I would extend PullRefresh plugin to handle the changes you need it to do.
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 firstname.lastname@example.org
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.