Ext RowEditor.js does not fire 'afteredit' event
- by terrani
Hi,
I have a Ext grid with RowEditor plugin. I have the following code to add 'afteredit' event to the roweditor object.
store.on('update',function(){
});
editor.on("afteredit",function(roweditor,changes,record,index){
$.ajax({
url: $("#web").val() + "/registration/client/address-save"
,type: 'post'
,data: record.json
,dataType: 'json'
,success: function(data){
if(data.success == true){
alert("Update Successfully");
}
}
});
});
when I click a row and edit a value, sometimes the grid fires 'afteredit' event, but sometimes it doesn't.
Do I have a problem with my code above?