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.

ace
  • 11,526
  • 39
  • 113
  • 193

1 Answers1

4

I figured out my own solution:

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

thisObj.myGrid.store.close();
thisObj.myGrid.setStore(store);
ace
  • 11,526
  • 39
  • 113
  • 193