Results 1 to 2 of 2

Thread: Store Paging: How to get hold of "start" and "limit" values posted by loadPage method

  1. #1
    Sencha User
    Join Date
    Aug 2010
    Posts
    82
    Vote Rating
    0
      0  

    Default Store Paging: How to get hold of "start" and "limit" values posted by loadPage method

    [SOLVED]

    Hi there,

    I'm trying to implement the paging function with my store, so that only 10 items are displayed in my list at any given time.

    As I understand it, the store.loadPage() function posts calculated 'start' and 'limit' values which I should be using server-side to filter my data. My question is how to get hold of the 'start' and 'limit' values in my php file on the server side, so that I can set up my SQL query accordingly.

    Thanks in advance,
    Jac Stofberg

  2. #2
    Sencha User
    Join Date
    Aug 2010
    Posts
    82
    Vote Rating
    0
      0  

    Default SOLVED

    I should not have posted such a silly question on this forum. My apologies)

    $limit = $_REQUEST["limit"];
    $start = $_REQUEST["start"]

Posting Permissions

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