可编辑表格在编辑后实时向服务器发ajax请求的监听怎么写?
SkillGrid.superclass.constructor.call(this,{ listeners:{ afteredit:function(){ //alert("yes"); // 基础的请求 var m=this.getSelectionModel().getSelections();//獲得grid的選擇模型 var mstore=this.getStore(); mstore.commitChanges(); Ext.Ajax.request({ url: 'skillInfoAction.do',//skillInfoAction.do?operator=findSkillInfoByPage method : "post", waitTitle : "数据传输", waitMsg : "数据传输中,请稍候......", success: function(){ alert('yes'); }, failure: function(){ alert('no'); }, scope : this, params : { operator : 'findSkillInfoByPage' } }); } }, autoWidth : true, border : false, // 不显示边框 autoHeight : true,