dash-table
dash-table copied to clipboard
Simplify setting table width / height
From https://community.plot.ly/t/table-size-cant-be-changed-after-fixed-columns-and-fixed-rows/31495/4
Overriding the table's size is too complicated for its own good and the behavior varies between fixed columns / fixed rows / virtualized / none.
See updated chapter on setting height here: https://dash.plotly.com/datatable/height & width here: https://dash.plotly.com/datatable/width.
If folks in the community have suggestions on how to simplify this while handling the flexibility described in that chapter, please comment!
The documentation needs to be clearer - that the default table height changes from "show up to 250 rows" to "500px" when setting fixed_rows/fixed_columns.
In my opinion, it would be better if the behavior for height was the same for all settings.