当我打开我的网页时,默认显示所有列,我不想默认显示它们,如果用户想要se,他可以勾选该列并查看。 这是我的代码:
header: "ace",
width: 50,
dataIndex: "ace"
},{
header: "",
width: ,
id: "",
dataIndex: "ace1"
},{
header: "s",
width: 50,
id: "s",
dataIndex: "f"
答案 0 :(得分:2)
使用hidden
:
true
隐藏组件。
例如:
{
header: "Case Count",
width: 50,
renderer: LNK,
dataIndex: "case_count",
hidden: true
}