Adjust table height based on the data present.
ShedrackGodson opened this issue · comments
I want to make the table height automatically adjustable since my current setup make the table's height to be large even if the table is empty.
Help me with this guys
@ShedrackGodson You can use emptyRowsWhenPaging
key for this case. You can refer here in options sections: material-table
<MaterialTable options={{ emptyRowsWhenPaging: false }} />
This is helpful @arjunbhandari3 , thanks