Results 1 to 3 of 3

Thread: PagingToolbar behaviour

  1. #1
    Sencha User
    Join Date
    May 2008
    Posts
    18

    Default PagingToolbar behaviour

    Hi,
    I have a problem with pagingToolbar.

    store.ParamNames = { start = 'p_start', limit = 'p_limit'};

    After setted this new params for my store, the paging toolbar gets me only one page vs many pages (452 rows/20 rows).

    Any help?

    Thanks a lot.

    Luca
    Last edited by Terrible; 3 Dec 2009 at 8:06 AM. Reason: Correct param name

  2. #2
    Sencha User
    Join Date
    Sep 2009
    Location
    Calgary, Alberta, Canada
    Posts
    638

    Default

    Are you using '=' instead of ':'?

    Code:
    store.ParamNames = { start: 'p_start', limit: 'p_limit'};

  3. #3
    Sencha User
    Join Date
    May 2008
    Posts
    18

    Default

    I'm sorry, my code is with ':' not '='. I wrote in a hurry.
    The solution is using totalProperty as it's used in JasonReader.

    new Ext.data.XmlReader({
    //totalRecords:'TOTAL', ---> Previuos keywords until 3.0
    totalProperty:'TOTAL', ---> New keywords after upgrade on 3.0.3
    record: 'ROW',
    id: 'ID'
    }

    Now my pagination is ok.

    Thanks a lot.

    Hy, Luca.

Posting Permissions

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