I want a table's height to grow and scroll as the rows are dynamically added.
I am currently using the following but the scroll bar won't show without a fixed height:
But, when the fixed height is used that causes the problem with the div being huge and waiting for content.
Ideally, the table would scroll after 10 rows are created.
Is there a way for the div to collapse and just grow vertically as the table grows and after 10 rows begin scrolling?