-
11 Apr 2012 2:28 AM #1
Problem with PullRefresh after setScrollable(false);
Problem with PullRefresh after setScrollable(false);
Hi,
I have an issue in Ext.List. Actually I am using Ext.List with "pullrefresh" and "listpaging" and it is working fine.
Now once I click on a button and set MyList.setScrollable(false) then list do not scroll which is good but again I reset the setScrollable property MyList.setScrollable(true).
Now I try to use pullrefresh and listpaging but its does not work. Can anyone explain me why it is happening.
I am using Sencha Touch 2.0.
Thanks,
Manish
-
11 Apr 2012 5:51 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,684
- Vote Rating
- 435
Thanks for the report.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
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 services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
12 Apr 2012 2:12 AM #3
Hi,
Cool, no issue.
About the workaround, I was displaying the LoadMask over the List to disabled the list scrolling. And it is working fine but I want to drag the LoadMask as well.
Can we drag and drop the load mask? If yes then How can i do that?
Thanks,
Mansih
-
12 Apr 2012 4:09 AM #4
Sencha team, i got a quick fix for this
i explored manish case, it resets the list to null somehow once we disable scrolling
Here is the fix, just reinitialize it
Ext.getCmp('pullrefresh').init(listInstance);
and paging component also have same issue once scrolling is disabled, so apply below to fix paging
Ext.getCmp('listpaging').init(listInstance);
Please come up with a real fix soon....
Sencha Rocks
Cheers!
-
30 Apr 2012 11:55 AM #5
I've fixed the issue with Pull to Refresh for the next version of Sencha Touch. I couldn't replicate any issues with the list paging plugin.
Sencha Inc.
Robert Dougan - @rdougan
Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-2730
in
Sprint 22 (2.0.2).


Reply With Quote