jqgrid 让隐藏的列在编辑状态时出现且可编辑

有时,我们需要隐藏一个列数据,但在启动编辑时又能够被编辑。

1、设置列为编辑:editable: true

2、设置 editrules属性值为: edithidden: true

        colModel: [{
                      label: '筛选说明',
                      name: 'Remark',
                       120,
                      editable: true,
                      edittype: "textarea",
                      //edittype: "text",
                      hidden: true,//隐藏字段
                      editrules: { edithidden: true }//让隐藏字段可编辑,编辑时显示
                  }]
原文地址:https://www.cnblogs.com/senyier/p/7308094.html