是否可以jqgrid形式添加其他字段? [英] Is it possible to have additional fields in jqgrid form?

查看:81
本文介绍了是否可以jqgrid形式添加其他字段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用jqgrid形式添加其他字段?说出附加的日期选择器或选择列表,甚至附加输入栏等,但未在电网本身上显示.

Is possible to have additional fields in jqgrid form? Say perhaps additional datepicker or select list or even an additional input field etc that is not shown on the gird itself.

任何人都可以帮助我理解如何实现这一目标吗?

Can anyone assist me in understanding how I can implement this?

谢谢!

推荐答案

您可以以其他方式在添加/编辑"表单中包括其他字段.

You can include additional fields in the Add/Edit forms in different way.

最简单的方法是在网格中添加隐藏的列.例如,附加列的属性可以解决问题:

The simplest way is to add hidden columns in the grid. For example the properties for the additional column could solve the problem:

hidden: true, editable: true, editrules: { edithidden: true }, hidedlg: true

另一种方法是手动修改添加/编辑"对话框(请参见答案)和旧版演示.

Another approach is to modify Add/Edit dialog manually (see the answer) and the Add form of the old demo.

这篇关于是否可以jqgrid形式添加其他字段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆