标签: javascript extjs
我需要在网格下拉菜单中禁用复选框“操作”
我该怎么做?
答案 0 :(得分:3)
只需将列的字段hideable设置为false:
hideable
columns: [ { xtype: 'gridcolumn', text: 'Option' } { xtype: 'actioncolumn', text: 'Actions' hideable: false, // <<== Here hidden: false } ]
请参阅hideable文档。
答案 1 :(得分:0)
将列设置为hideable false,以便最终用户无法从UI隐藏列。