extjs - Sencha cmd - Grid Rowediting -
i have grid, when open first time can edit normal use rowediting plugin. when close window edit , open again can not edit.
thanks.
you have use cancel event , if want update use update on place of "canceledit"
var rowediting = ext.create('ext.grid.plugin.rowediting', { clickstomoveeditor: 1, //autocancel: false, listeners:{ 'canceledit': function(rowediting, context) { // canceling editing of locally added, unsaved record: remove if (context.record.phantom) { context.store.remove(context.record); } } } });
Comments
Post a Comment