现在的位置: 首页 > 综合 > 正文

ADF table, occupy whole screen height

2018年10月10日 ⁄ 综合 ⁄ 共 812字 ⁄ 字号 评论关闭

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

【上篇】
【下篇】

抱歉!评论已关闭.