Aug 10, 2010, 5:48 PM
[CLOSED] PagingToolbar: Add option to retain last params
I'm trying to use remote paging with the GridPanel and I want to retain the lastOptions.params between pages, only updating start and limit parameters. The current implementation of PagingToolbar.doLoad() method always calls the store.load() method, only passing the start and limit parameters.
The recommended solution is to move persistent parameters into store.baseParams, but since some of the parameters I'm using are transient filters, I don't want to have to manage which parameters should be removed from baseParams when the filters are updated. (I'm using FormPanel.getForm().getFieldValues() to get the list of parameters to pass to the store).
Would it be possible to add a config option to the PagingToolbar to retain last parameters, i.e. call store.reload() instead of load()?
http://www.sencha.com/forum/showthread.php?102789
http://www.sencha.com/forum/showthread.php?103889
http://www.sencha.com/forum/showthread.php?98650
Thanks! :cool:
The recommended solution is to move persistent parameters into store.baseParams, but since some of the parameters I'm using are transient filters, I don't want to have to manage which parameters should be removed from baseParams when the filters are updated. (I'm using FormPanel.getForm().getFieldValues() to get the list of parameters to pass to the store).
Would it be possible to add a config option to the PagingToolbar to retain last parameters, i.e. call store.reload() instead of load()?
http://www.sencha.com/forum/showthread.php?102789
http://www.sencha.com/forum/showthread.php?103889
http://www.sencha.com/forum/showthread.php?98650
Thanks! :cool:
Last edited by Daniil; Sep 07, 2010 at 9:36 PM.
Reason: [CLOSED]