PDA

View Full Version : Paging Problem



raydeen
11 Aug 2009, 11:01 PM
I have a drop down control that I have with a grid so that a user can further filter results from a recordset that has been returned. The problem is that I set the start value to 0 when they select the dropdown item (sampleGrid.store.baseParams.start = 0; ) , but once I do that, the paging arrow then always sends 0 as the paging start value. How can I reset the start value, but then have the the paging control work as its supposed to once I do that (ie send "start" value as 10,20,30,etc)

Any insight would be GREATLY appreciated.

Tony :((

Condor
12 Aug 2009, 2:39 AM
Do not put the start, limit, sort and dir parameters in baseParams. They are automatically generated by the store and pagingtoolbar and should not be overridden by baseParams.

Instead, you should put your filter paramters in baseParams, so they are send with every pagingtoolbar page load.