ADF table, occupy whole screen height

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

ADF table, occupy whole screen height_第1张图片



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"


ADF table, occupy whole screen height_第2张图片


Ok, here is the result

ADF table, occupy whole screen height_第3张图片


Hope this helpful



你可能感兴趣的:(ADF table, occupy whole screen height)