PDA

View Full Version : Overridde the default behaviour of Update and cancel button in Grid in extjs4.1



arkarthickraja
23 Aug 2012, 2:38 AM
Is it possible to Overridde the default behaviour of Update and cancel button in row edit Grid? if so, can u please palce piece of code for the same ?

scottmartin
23 Aug 2012, 4:53 PM
Have a look at:



Ext.override(Ext.grid.plugin.RowEditing, { // uses: Ext.grid.RowEditor
cancelEdit: function() {
},
completeEdit: function() {
}
});


Scott.