Is it possible to have additional fields in jqgrid form?

喜夏-厌秋 提交于 2019-12-30 07:14:08

问题


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?

Thanks!


回答1:


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.



来源:https://stackoverflow.com/questions/9127941/is-it-possible-to-have-additional-fields-in-jqgrid-form

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!