Results 1 to 2 of 2

Thread: Ext.PagingToolbar problem !

  1. #1
    Sencha User
    Join Date
    Oct 2010

    Default Ext.PagingToolbar problem !

    My understanding from "Ext.PagingToolbar" is that :
    this component gets a Url and retrieves all the data available on the server side.and then splits the data into pages
    set by "pageSize:" and makes it available to user.

    please correct me if I'm wrong up to here!

    I have a web Service that provides the list for me, and this service is designed so that it gets two parameters as input (start and limit),this way the paging is done by server.

    the problem is that if I'm gonna use the "Ext.PagingToolbar", the way it is,I will have to set
    start =0 and limit =AllrecordsCount and this is not what I'm looking for...

    I'm sure there must be a better way to do this,but I don't know how!

    thanks for any suggestions.

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    The Netherlands


    You are wrong.

    The normal behavior is that Ext sends the 'start' and 'limit' parameters to the server and the server is expected to return only the records for that page + the total number of records.

    So Ext already does what you are looking for!

    ps. I you actually wanted to retrieve all records and display them in pages then you would need to use my PagingStore user extension.

Similar Threads

  1. Ext.grid.GridPanel extension pagingtoolbar problem
    By tolgaali in forum Ext 3.x: Help & Discussion
    Replies: 6
    Last Post: 20 May 2010, 10:42 AM
  2. Problem with Ext.PagingToolbar
    By Jacky in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 21 Jul 2009, 12:50 AM
  3. PagingToolBar problem
    By santhoshjose in forum Ext 2.x: Help & Discussion
    Replies: 28
    Last Post: 16 Feb 2009, 5:05 AM
  4. Problem with PagingToolBar
    By drenda81 in forum Ext GWT: Help & Discussion (1.x)
    Replies: 1
    Last Post: 2 Sep 2008, 1:01 PM
  5. Problem with PagingToolBar ...PLEASE HELP
    By [email protected] in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 28 Oct 2007, 7:40 PM

Tags for this Thread

Posting Permissions

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