PDA

View Full Version : Search Remote Data Grid with paging



Florynth
7 Oct 2007, 6:09 AM
I want to do a remote data grid with a paging system but the paging button must pass more argument (from form fields) not just the start and limit.

It's not cross domain so I did use the

http://extjs.com/deploy/ext-1.1.1/examples/grid/paging.html

as a base and did use Ext.data.HttpProxy instead.

I just don't know how I can specify to use som form field to add up to the pagging to filter the result.

Thanks for your help

evant
7 Oct 2007, 6:14 AM
You can see extra parameters for the data store, something like:



ds.on('beforeload', function()
{
ds.baseParams.SearchText = getSearchText();
}
);