Is it possible to have additional fields in jqgrid

2019-02-15 11:58发布

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!

标签: jquery jqgrid
1条回答
▲ chillily
2楼-- · 2019-02-15 12:23

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.

查看更多
登录 后发表回答