且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在编辑时更新JQgrid中的GroupSummary行

更新时间:2023-12-06 16:54:28

例如,可以在嵌入式编辑结束后重新加载网格.

You can, for example, reload the grid after the end of inline editing.

inlineEditing: {
    keys: true,
    aftersavefunc: function () {
        var $self = $(this);
        setTimeout(function () {
            $self.trigger("reloadGrid");
        }, 0);
    }
}

建议在免费jqGrid中使用inlineEditing选项设置内联编辑选项.参见 https://jsfiddle.net/oyavoe00/2/

It's recommended to use inlineEditing option in free jqGrid to set inline editing option. See https://jsfiddle.net/oyavoe00/2/