How can I change data in my 'gridpanel' store?
I try to do this :
cellclick: function (th, td, cellIndex, record, tr, rowIndex, e, eOpts) {
record.set('hasPast', '-');
th.getStore().insert(rowIndex + 1, record.data.pastRecal);
}
But it give error! 'cellclick' - listener of cell click event on my grid.
Error from ext-all-debug.js(in this code segment):
urlAppend : function(url, string) {
if (!Ext.isEmpty(string)) {
return url + (url.indexOf('?') === -1 ? '?' : '&') + string;
}
return url;
},
url is undefined
Thanks!