How to make table height Auto-Adjustable depending on the Number of rows?
Summary:
I have a oj-table component whose data is loaded on a REST call. I want the table to automatically adjust its height based on the Number of Rows returned from the rest call.
Content (required):
Our customer requirement is to see a maximum of 10 rows at a given time in the table and the table becomes vertically scrollable.
At First, I set the height of the table to 500px, and the above-mentioned requirement is fulfilled, but my REST Call sometimes gives 3-4 records. At this time the table is taking only limited space of that 500px and the rest area is coming as blank.
Tagged:
0