Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 在extjs中自动保存网格_Php_Extjs - Fatal编程技术网

Php 在extjs中自动保存网格

Php 在extjs中自动保存网格,php,extjs,Php,Extjs,我想在extjs编辑器网格中自动保存网格的内容。有人能帮忙吗?目前,当按下insert键时,我的行将被保存,但我希望在新行聚焦后立即保存它。尝试查看中的事件 如果此活动不适合,可能会有一个替代活动来满足您的需要 grid.on('validateedit', function(e) { var rec = e.record; //some code to save the record. });

我想在extjs编辑器网格中自动保存网格的内容。有人能帮忙吗?目前,当按下insert键时,我的行将被保存,但我希望在新行聚焦后立即保存它。

尝试查看中的事件

如果此活动不适合,可能会有一个替代活动来满足您的需要

grid.on('validateedit', function(e) {
  var rec = e.record;
  //some code to save the record.
});