buttons : [{
         text : '保存结果',
         iconCls : 'acceptIcon',
handler : function() {
var modified = store.modified;  
ADUrecord(modified);
store.modified.remove();
}
}]
以上是调用的button ;
function ADUrecord(modified){
var json = [];  
        Ext.each(modified, function(item) {  
            json.push(Ext.util.JSON.encode(item.data));  
        }); 
        if (json.length > 0) {  
            Ext.Ajax.request({  
                url: 'datainputfield.ered?reqCode=actionRecord',  
                params: {data: json,
                  datatable : storeEditForm.getAt(0).get('datatable')
                  },  
                method: 'POST',  
                success: function(response) {  
                    Ext.Msg.alert('信息', '数据提交成功!', function() { store.reload(); });  
                },  
                failure: function(response) {  
                    Ext.Msg.alert('警告', '数据提交失败,请稍后再试!');  
                }  
            });  
        }  
        else {  
            Ext.Msg.alert('警告', '没有任何需要更新的数据!');  
        }
        store.modified.remove();
}
上面是调用的function。
第一次增删改保存结果之后,store.modified 记住了操作,保存结果都成功。
在没刷新页面时,无论有没有进行操作点击保存都把前一次的操作又重新执行多遍了,怎样把当中的 store.modified 记录清空?试过 store.reload 效果一样没变化