Extjs中的GridPanel隐藏列会显示在menuDisabled中解决方法_extjs
时间:2021-07-01 10:21:17
帮助过:7人阅读
在Extjs中的GridPanel会有这样的情况,隐藏列会显示在menuDisabled中 如下图:

但是这个一般没有什么用处,只是用于后台取值的作用。
so
加一个属性:hideable:false就可以搞定了
代码如下:
{
header: "attendanceId",
dataIndex: "attendanceId",
hideable: false,
hidden: true
},