plotly / dash-table-experiments

NO LONGER SUPPORTED - use https://github.com/plotly/dash-table instead
MIT License
174 stars 57 forks source link

Values not displayed when specifying column_widths #78

Open popes01a opened 6 years ago

popes01a commented 6 years ago

Hi,

Just came across this issue when trying to specify column_widths for the DataTable.

The last couple of columns (if they go off-screen) seem to not have any values, however if you resize the columns for everything to fit inside the page and try to use the scrollbar (which disappears immediately when you try to scroll), then you can see the values within these columns.

This does not happen if you do not specify column_widths as it seems to split the columns equally and fit everything on screen at once, however it would be quite useful to be able to do this, especially when you know a particular column will contain longer strings.

dash-table-experiments - setting column width

The code I used to generate the example above is the one from usage-callback.py. I just added column_widths=[500, 200, 300, 100, 100] to the DataTable

Thanks, Andra