2017-04-03 64 views

回答

0

PrimeFaces documentation on page 107状态:

Name   Default Type   Description 
toggleable true  Boolean  Defines if panel is toggleable by columnToggler component. Default value is true and a false value marks 

列静态。

所以使用类似

<p:column toggleable="false" ...> 
    ... 
</p:column 

会适合您的要求。另请参见页和173(重点煤矿)

在页面加载,列选择查找的数据表中的所有列,并生成UI。如果您希望某些列被忽略,则将列可切换 列的选项设置为假并且某些列默认隐藏,请将可见 设置为false。

相关问题