我需要将请求(商店正在使用restproxy)发送到我的服务器onblur。我已经有了从按钮调用它的保存方法。
这是我的细胞编辑
var cellEditing = Ext.create('Ext.grid.plugin.CellEditing', {
clicksToEdit: 1,
});
grid.plugins = [cellEditing];
grid.on('edit', function(editor, e) {
// commit the changes right after editing finished
e.record.commit();
e.grid.store.save();
});
我在官方文档中读到这是需要的事件,但是在我看来它在编辑之前就被触发了。
简而言之
- 编辑单元格后我必须绑定的事件是什么?
- 使用
e.grid.store.save()
发送请求可以吗?