Hybrid View
-
8 Mar 2012 7:44 AM #1
rownumber issue
rownumber issue
i have created the grid with EXTJS 4.0.7 .I update the grid dynamically using reconfigure function
The above code works very well.Code:store.proxy.url='json_data.php'; store.proxy.extraParams={task:'list'}; store.model.prototype.fields.addAll(fields); salesorder_grid.reconfigure(store, columns); Ext.getCmp('pagingtoolbar').store =store; store.proxy.reader.totalProperty=gridTotal; store.totalCount =gridTotal; store.loadData(gridData); Ext.getCmp('pagingtoolbar').onLoad();
But the row number of grid is not changed.When i goes to second page,the row number starts from 1
How can i fix it.Last edited by manojvijayan; 8 Mar 2012 at 8:41 PM. Reason: added [CODE] tags
-
8 Mar 2012 3:45 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
What Ext JS 4 version?
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
8 Mar 2012 8:42 PM #3


Reply With Quote