Closed chriddyp closed 4 years ago
(I thought that I had already raised this issue before, but I couldn't find it! Feel free to close if it's a duplicate)
I guess this is the one you refer to? https://github.com/plotly/dash-table/issues/730
@tashrifbillah - SImilar, but not quite the same. This issue happens with or without column icons. The solution may end up fixing both issues though.
In this example, it looks like it's not actually an issue: the headers are wider than the cells but nothing is cut-off.
However, if I add more columns then the last column does not expand to it's width. It appears that Column 10
is as wide as the other columns:
Then, if I create 20 columns, we see the issue:
I thought that I had already raised this issue before
Ah found it - https://github.com/plotly/dash-table/issues/432
If the column headers are wider than the data (which is often the case with numerical tables & text column headers), then the width of the columns is too narrow and the column headers are cut off.
Without fixed columns, the column width expands to account for the width of the headers. I would expect the behavior to be the same with fixed headers.
Expected behavior:
Default behavior with
fixed_rows
Still undesirable behavior with header overflow: