plotly / dash-table

OBSOLETE: now part of https://github.com/plotly/dash
https://dash.plotly.com
MIT License
420 stars 72 forks source link

Expand column width to account for icons #730

Open chriddyp opened 4 years ago

chriddyp commented 4 years ago

As reported in https://community.plotly.com/t/column-width-does-not-fit-to-text-after-making-columns-hideable/37389

By default, the column width is expanded to contain their width: image

But then when they add hideable: True, the column names are cut off: image

tashrifbillah commented 4 years ago

Thanks for including it in your todo, @chriddyp

tashrifbillah commented 4 years ago

I may have found a way around:

style_cell={'whiteSpace': 'pre-wrap'}

Including the above solved the problem: trimming_solved

Marc-Andre-Rivet commented 4 years ago

A few notes on the issue: