Extjs 的GridPanel删除隐藏列在menuDisabled 显示

Extjs 的GridPanel剔除隐藏列在menuDisabled 显示。在Extjs中的GridPanel会有这样的情况,隐藏列会显示在men

Extjs 的GridPanel剔除隐藏列在menuDisabled 显示。

在Extjs中的GridPanel会有这样的情况,隐藏列会显示在menuDisabled中 如下图:

Extjs 的GridPanel删除隐藏列在menuDisabled 显示

但是这个一般没有什么用处,只是用于后台取值的作用。

so 

加一个属性:hideable:false就可以搞定了

 {                header: "attendanceId",                dataIndex: "attendanceId",                 hideable: false,                hidden: true            },