jqGrid编辑后如何禁用自动更新? [英] How to disable auto update when jqGrid edited?
问题描述
我正在尝试在jqgrid上使用表单编辑.更改数据后,数据将自动发送到Web服务器.我不会将已编辑的数据发送到服务器.只是在html标记值上编辑数据?任何的想法?你们可以举一些可行的例子吗?
I'm trying to use form editing on jqgrid. When the data is changed, data is sent to the web server an automatically. I don't won't to send edited data to server. Just edit data on html tag value? Any idea? Can you guys put some working example?
谢谢你的建议吗?
推荐答案
表单编辑现在不仅支持本地编辑.我建议Tony(jqGrid的开发人员)在下一版jqGrid中实现此功能(请参见 http://www.trirand.com/blog/?page_id=393/feature-request/support-of-editurl -clientarray-local-editing-for-form-editing/).我们希望将来可以实现此功能.
Form editing not support only local editing now. I suggested Tony (the developer of jqGrid) to implement this in the next release of jqGrid (see http://www.trirand.com/blog/?page_id=393/feature-request/support-of-editurl-clientarray-local-editing-for-the-form-editing/). We can hope that this feature will be implemented in the future.
当前,您只能将内联编辑或单元格编辑与datatype: 'local'
和editurl: 'clientArray'
一起使用.例如,请参见 http://www.ok-soft-gmbh.com/jqGrid/ClientsideEditing4.htm .要进入编辑模式,请双击.要进行编辑(以将编辑结果保存在本地),请使用Enter键.
Currently you can use only inline editing or cell editing together with the datatype: 'local'
and editurl: 'clientArray'
. As an example see http://www.ok-soft-gmbh.com/jqGrid/ClientsideEditing4.htm. To go in the edit mode use double click. To conform editing (to save editing results locally) use Enter key.
这篇关于jqGrid编辑后如何禁用自动更新?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!