Feature request: Ability to remove table borders completely
See original GitHub issueI’m trying to convert some tables that I rendered in my app through convoluted HTML into the new DataTable
s, but in order to reproduce the format I need to get rid of some of the table borders and that doesn’t seem possible right now. I have used style_as_list_view
but that doesn’t help me with the horizontal borders. Basically, I’m trying to style my table like this:
Just as there is the style_as_list_view
flag, could there be one called something like style_without_borders
so that we can then add borders as needed through normal cell styling?
If this is acceptable and with some guidance, I’m happy to submit a PR for this.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How to remove table borders in Google Docs - Zapier
With your Google Doc open, highlight the table cells that you'd like to make borderless. · Select Format > Table > Table properties....
Read more >PowerPoint 2016 completely ignores table border requests.
table to format in PowerPoint. I want a simple table, with every other row having a slightly gray background and a box border...
Read more >css - How to completely remove borders from HTML table
For me I needed to do something like this to completely remove the borders from the table and all cells. This does not...
Read more >Make table border setting override cell styles - Adobe InDesign
I originally posted a long message as to why this is needed and upvoted the feature request. Then, I realized this feature ...
Read more >Ability to Hide Table lines/borders/gridlines for Confluence
However, in cases where the same needs to use a table without gridlines, there is no option to hide it. This is 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 FreeTop 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
Top GitHub Comments
Sure! Here’s what I did (they key element to get rid of the borders is the
boxShadow: '0 0'
in thestyle_cell
:And the result, which can be compared with the table I started with (not using
DataTable
shown above):In dash 1.0.0 you now need to use
style_data={ 'border': '0px' },
to remove the borders