开发者

How to show only few columns by default in adf tree

I am trying to render a table using adf treeTable component. The table has got so many columns and I just want to show only few columns by default. If the user selects few more columns from view menu on the panel, then selected columns should be shown but by default 开发者_如何学Pythonwhen the table gets rendered fro the first time, I want show only set of columns.

Default behavior of the treeTable is it shows all the columns. Please help in here.


Try using rendering property on table columns. Tie it with some method (for example in backing bean) which returns boolean value, or some boolean property. In that method you can do whatever checking you need


Setting disabled="true" for the column does the trick. Found it after little trail and error. thanks

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜