Ext RowEditor.js does not fire 'afteredit' event
Posted
by terrani
on Stack Overflow
See other posts from Stack Overflow
or by terrani
Published on 2010-04-01T08:41:08Z
Indexed on
2010/04/01
8:43 UTC
Read the original article
Hit count: 422
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?
© Stack Overflow or respective owner