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

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -