PDA

View Full Version : Ext.Paginator: Altering default events



jbeduya
27 Sep 2007, 3:50 AM
I have a grid with a filter and paginator. But when I click next, previous or any of the paginator buttons, the filter that I have typed in is not included in the query parameters.

What I would like to have is to include the typed in filter in the parameters when the user clicks any of the buttons in the paginator toolbar.

Any help is highly appreciated. Thank you.

evant
27 Sep 2007, 3:54 AM
You need to set the baseParams:



myStore.on('beforeload', function()
{
myStore.baseParams.foo= 'bar';
}
);

jbeduya
27 Sep 2007, 8:07 PM
Thank you so much! Works like a charm. Ext rocks!