ADF table, occupy whole screen height

来源:互联网 发布:北京软件技术培训学校 编辑:程序博客网 时间:2024/05/07 21:57

It's very long time since I updated my blog last time


But, this time I would rather update it, as we've been annoyed by this problem for very long time, actually since the first day we touched ADF


When use ADF table, we'll put table into PanelCollection so that we are able to get toolbar, menu bar for this table.  And to make table occupy the whole screen width, we set PanelCollection attribute StyleClass="AFStretchWidth", and it works good. However, vertically, the table only occupies partial space even we have plenty of rows to display, as the picture shows




So, how to make table occupy the whole vertical space, I searched out the whole internet, even google cannot tell me how, but our peer team did implement this effect(I even do not know whom to ask for their code, not sure how long it takes to ask them for code), I tried again and again, and finally solve it

The solution is to set top level comoponent's DemensionsFrom="Parent"




Ok, here is the result



Hope this helpful



0 0
原创粉丝点击