Results 1 to 2 of 2

Thread: ListPaging & extraParams

  1. #1
    Sencha Premium Member
    Join Date
    Dec 2012
    Posts
    66
    Answers
    4
    Vote Rating
    2
      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,985
    Answers
    3974
    Vote Rating
    1335
      0  

    Default

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

    Check out my GitHub:
    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
  •