1

Within my on RowClick event handler I have to change the store like:

var store = new ItemFileWriteStore({data: somedata});

thisObj.myGrid.store = store

but this does not work because some dojo internal assertion fails.

4

1 回答 1

4

我想出了自己的解决方案:

var store = new ItemFileWriteStore({data: somedata});

thisObj.myGrid.store.close();
thisObj.myGrid.setStore(store);
于 2012-02-24T08:19:16.063 回答