Is it possible to have additional fields in jqgrid

2019-02-15 12:30发布

问题:

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.



标签: jquery jqgrid