1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    27
    Vote Rating
    0
    passion4code is on a distinguished road

      0  

    Default ListPaging Plugin ported to 2.0

    ListPaging Plugin ported to 2.0


    Greetings,

    I had quite a few issues getting the ListPaging plugin to work properly, and ended up refactoring the plugin so that it could work with 2.0 (it looked like it was referencing a lot of 1.1 methods / properties that aren't present anymore).

    Note: This currently only supports auto paging. I haven't tried it with the button.

    To use it, just add {ptype: 'paging'}

    ListPaging.js.zip

    Please keep in mind that I'm very new to Sencha Touch and ExtJS, so there is still quite a bit of room for improvement, but this is what I used to get it to work for me (well...I have a different namespace in my local app).

    Any feedback is greatly valued and appreciated, as I will be continuing development on this (albeit lightly) for a month or so.

  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


    Thank you! Every little bit you work on something, especially something within the framework the more you will learn!

    Currently the ListPaging plugin isn't fully updated to work with ST2 so your troubles with it are justified.
    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
    Jan 2012
    Posts
    27
    Vote Rating
    0
    passion4code is on a distinguished road

      0  

    Default Glad to help

    Glad to help


    Glad I could be of any assistance. I'll probably be doing a lot of development in SenchaTouch 2.0 in the next few months, so hopefully I can contribute more to the community than just something like this.

  4. #4
    Sencha - Community Support Team edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939
    Vote Rating
    9
    edspencer is a jewel in the rough edspencer is a jewel in the rough edspencer is a jewel in the rough

      0  

    Default


    ListPaging made a comeback in the just released PR4
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

  5. #5
    Sencha User
    Join Date
    Jan 2012
    Posts
    27
    Vote Rating
    0
    passion4code is on a distinguished road

      0  

    Default Sweet :)

    Sweet :)


    Sweet, thank you sir. Looking forward to trying it out.

    I finished you watching an introductory speech at Senchacon 2011 a few days ago, very insightful.

  6. #6
    Sencha - Community Support Team edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939
    Vote Rating
    9
    edspencer is a jewel in the rough edspencer is a jewel in the rough edspencer is a jewel in the rough

      0  

    Default


    Quote Originally Posted by passion4code View Post
    I finished you watching an introductory speech at Senchacon 2011 a few days ago, very insightful.
    Great I was on about 2 hours of sleep for the week so if it didn't make sense you'll know why...
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

  7. #7
    Sencha User
    Join Date
    Jan 2012
    Posts
    27
    Vote Rating
    0
    passion4code is on a distinguished road

      0  

    Default


    I was on an equal amount of sleep when I wrote that grammatical catastrophe of a post regarding your speech at Senchacon.

    Your speech was well done, and provided a good deal of insight that the current examples and docs don't quite provide. Looking forward to trying PR4 today.

  8. #8
    Sencha - Community Support Team edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939
    Vote Rating
    9
    edspencer is a jewel in the rough edspencer is a jewel in the rough edspencer is a jewel in the rough

      0  

    Default


    Cool. I just overhauled the MVC docs/guides for PR4 so hopefully most of the stuff from the talk translated across well. I'm sure I've missed things though so let me know if anything is confusing.
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

  9. #9
    Sencha User
    Join Date
    Jan 2012
    Posts
    27
    Vote Rating
    0
    passion4code is on a distinguished road

      0  

    Default


    Using lists and AJAX proxies is a bit weak I could probably help out with that, as I got it working cleanly (with my AutoPagination plugin, and the applied fix for loading ptype aliased objects from the factory) , but it won't be compatible with the PR4 release, just PR3.

Thread Participants: 2