PDA

View Full Version : rowIndex is null or not ac object



Redders
3 Apr 2012, 1:46 AM
in ext-all-debug.js line 44250

This error occur when I use


grid.store = store; // load new data into a store
store.load({ params: { start: 0, limit: 20} });
grid.getView().refresh();


to refresh the grid data without refreshing the web page. The new data has loaded correctly but the grid row is not clickable. It'll show this error.

It has no error when the grid already has a data. The error show when the grid has no data only.

willigogs
3 Apr 2012, 2:28 AM
May need more of your code in order to debug this properly (not sure why you're replacing the grid.store property with your store variable?), but why don't you simply do the following?

grid.store.reload()
There should be no need to refresh the view.