Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-2730 in a recent build.
  1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    37
    Vote Rating
    0
    manishprajapati is on a distinguished road

      0  

    Default 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

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,541
    Vote Rating
    872
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Oct 2011
    Posts
    37
    Vote Rating
    0
    manishprajapati is on a distinguished road

      0  

    Default


    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

  4. #4
    Sencha User
    Join Date
    Apr 2012
    Posts
    6
    Vote Rating
    1
    tarun_juneja@hotmail.com is on a distinguished road

      0  

    Default


    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!

  5. #5
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    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.