Requirment- Setting up the height of table dynamically by no of row.
We have AutoHeightRows property for ADF Table component, this will allow to shrink rendered table height, if number of records will be less comparing to defined by AutoHeightRows. and if no of row will be more than what we defined than it will row all the rows.You also need to make one of the property
to immediate i.e setContenttype= immediate
See the below example
You can also set AutoHeightRows to equal to fetchSize of the table.