1
做电网的分页这是我的编码结果:如何通过加载与本地数据存储与TOTALCOUNT
{"items":[{"sourceId":"EPH1303270001004","ccy":"EUR","amount":"50.00000"}],"totalCount":1}
我试图做负载GRID2使用上述结果作为商店2:
var D = Ext.decode(aboveResult);
grid2.loadData(D.items);
结果的:的console.log(d);
Object
items: Array[1]
totalCount: 1
__proto__: Object
是否可以使用上述方式进行分页?在这里,我无法加载store.I的TOTALCOUNT感到困惑与此approach.But我的要求是,我需要加载数据使用loadData()商店2。但面临着分页问题。 请帮我解决this.Any帮助appreciated.If我的做法是错了,请让我know.Thanks