jqGrid-如何一次编辑和保存多行? [英] jqGrid - How to edit and save multiple rows at once?
本文介绍了jqGrid-如何一次编辑和保存多行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们知道如何允许用户编辑多个jqGrid行-但是如何有一个保存所有已编辑行的保存按钮呢?
We are aware of how to allow users to edit multiple jqGrid rows - but how would one have a single save button that saved all edited rows?
推荐答案
我们手动完成操作(不使用jqGrid功能).
We do it manually (not with a jqGrid feature).
我们有一个自定义格式化程序,用于绘制编辑器,并在整个网格上放置一个<form>
标签,并在底部带有一个提交"按钮.
We have a custom formatter which draws editors and we put a <form>
tag around the whole grid, with a submit button at the bottom.
这篇关于jqGrid-如何一次编辑和保存多行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文