Conversation
|
I've attempted to fill out the sizing target app with the new API, but with little success. None of the table examples are responding to the style parameters. See here: https://dash-table-review-pr-160.herokuapp.com/sizing @Marc-Andre-Rivet Can you correct these examples so that each table has similar sizing behaviour as the HTML above it? The only exception is the "Default Styles" example. |
|
Having a look. |
|
@chriddyp A lot of the first issues have to do with style_table={width: 100%} missing and content_style='grow' -- starting with ellipsis / vertical scrolldown we have some issues that are a bit more involved.
Will commit a first batch of fixes, create a PR for the issues at 1 and continue on until all the problems left are the hard ones and we can then prioritize those. |
- generator functions for style, proptypes, py2js prop mapping
…itional-props # Conflicts: # dash_table/bundle.js # dash_table/demo.js
| "overflow": "hidden", | ||
| "textOverflow": "ellipsis", | ||
| "maxWidth": 0, | ||
| }, |
There was a problem hiding this comment.
This is problematic with the current cell implementation and while it can be made to work, it's not exactly clean.
Opened #178 to have a deeper look.
At the moment this would need to be done through the css props on div.dash-cell-value and additionally set the display to inline -- which will cause some alignment issues.
|
@chriddyp Should be possible to do the word-wrap. Did it before the style refactoring. Will give it a go and post back here. |
|
@chriddyp This is currently the best way to get ellipsis and word wrap: Override the styling of the div element so it inherits the important props from the td parent: Ellipsis: Word wrap: |

No description provided.