I am using DWR, it returns me a List<Beans> of 200 records in java and converts to an Array<Object> in javascript. I'm trying to browsing with PagingToolBar in a GridPanel of 50 in 50 records, but is not accepting the parameters in the method load.

Code:
sd.load (params ((start: 0, limit: 50))); / / does not work  
sd.load () / / meets but not page
I am also using some of the plugins posted by some of you, in this case in particular the DWRProxy and ObjectReader.


Someone could help me?

Below follows the code generated:

[code]
Ext.onReady(function() {

var sd = new Ext.data.Store({
proxy: new Ext.data.DWRProxy(JSPedidos.lista200Pedidos),
reader: new Ext.data.ObjectReader({}, Ext.data.Record.create([
{ name: 'pedido', mapping: 'pedido'},
{ name: 'codcli', mapping: 'codcli'},
{ name: 'cliente', mapping: 'cliente'},
{ name: 'cidade', mapping: 'cidade'},
{ name: 'uf', mapping: 'uf'},
{ name: 'regiao', mapping: 'regiao'}
]
)
)
}
);

var grid = new Ext.grid.GridPanel({
store: sd,
columns: [
{id:'pedido', header: "N