PDA

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



jacstofberg
23 Jun 2011, 1:37 PM
[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

jacstofberg
23 Jun 2011, 1:53 PM
I should not have posted such a silly question on this forum. My apologies)

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