How to limit number of displayed rows in datatable

i have a datatable with hundred of rows, when it displays on frontend, it has 15 rows and a scrollbar.

what if i want to limit the displayed number to 10, not 15?

i tried max_rows_in_viewport=10 as was mentioned somewhere here on similar discussion but it gives me keyword error…

there are some examples in the documentation for this, check out https://dash.plotly.com/datatable/height.

1 Like