Results 1 to 2 of 2

Thread: ListPaging & extraParams

  1. #1
    Sencha Premium Member
    Join Date
    Dec 2012
    Posts
    54
    Answers
    4
    Vote Rating
    1
      0  

    Default ListPaging & extraParams

    Hello!
    I got a long list and gave the config the ListPaging-plugin. Is it possible to set an extraParam within the ListPaging-plugin?

    It should look like this:

    Code:
        config: {
    //config stuff
            plugins: {
                xclass: 'Ext.plugin.ListPaging',
                loadMoreText: 'Loading more records..',
                autoPaging: true,
                            extraParams :
    {
    myParam : 'someValue' }
    } } }

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,743
    Answers
    3951
    Vote Rating
    1303
      0  

    Default

    You need to set that on the store. The plugin will not use it without modification.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •