Option to add ellipsis (...) to table cells, headers when content doesn't fit
See original GitHub issueWhat problem does this feature solve?
Right now when the table is resized and the content doesn’t fit, the text is broken and reflows to the next row, thus appearing rather bad. Adding an option to allow ellipsis sign (…) by adding text-overflow:ellipsis;
where required to appear would increase the usability IMHO.
Thanks in advance!
What does the proposed API look like?
ellipsize={true}
in column properties
IssueHunt Summary
Backers (Total: $25.00)
Become a backer now!
Or submit a pull request to get the deposits!
Tips
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on IssueHunt to raise funds.
IssueHunt has been backed by the following sponsors. Become a sponsor
Issue Analytics
- State:
- Created 6 years ago
- Reactions:18
- Comments:27 (9 by maintainers)
Top Results From Across the Web
CSS text-overflow in a table cell?
To clip text with an ellipsis when it overflows a table cell, you will need to set the max-width CSS property on each...
Read more >Option to add ellipsis (...) to table cells, headers ... - Issuehunt
Right now when the table is resized and the content doesn't fit, the text is broken and reflows to the next row, thus...
Read more >How To Make CSS Ellipsis Work on a Table Cell - W3docs
Another possible way of making an ellipsis work on a table cell is using the CSS table-layout property with its "fixed" value on...
Read more >Resize columns and truncate cell content with ellipsis in table ...
I have tables with various widths and want to truncate the columns and its content with text-overflow:ellipsis to fit the screen (down to...
Read more >How To Fix Text-Overflow Ellipsis Not Working - Semicolon.dev
To make ellipsis work in a table, one way to do it, is by setting min-width to 0 on the cell. It's a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Solution:
and make sure you set
width
in your columns definitions