注:适用ADF11.1.7.0版本
在使用ADF的<af:table>分页时,需设置scrollPolicy="page"的同时也需要设置autoHeightRows="0",但当行数不足预期的行数时,table的高度是会自适应变矮,这对我们预期的页面布局有一定的影响。经测试,发生通过设置inlineStyle的min-height的属性值可以达到预期效果。但官方的帮助文档说不推荐这样做,这样做会导致不兼容问题。原文如下:
Specifying CSS "min-height" and "max-height" values in the "inlineStyle" attribute is not recommended and is incompatible with the autoHeightRows attribute.
但我目前暂没发现不兼容的情况,可能和使用的不同的布局UI有关???