I try to insert a new record into a store to avoid Ext.data.Store.load(); which will load all data again from a defined proxy.
Is it possible to insert a new Ext.data.Record without defining columns and datatypes?
I want something like this:
var myStore = this.grid.getStore();
myStore.insert({
firstColumn: 'myValueForTheFirstColumn',
secondColumn: 'myValueForTheSecondColumn'
});
Many thanks in advance!
Thanks Lolo,
this fixed my problem 😉
Here’s the code how I solved the issue: