Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Table Border Bugs #434

Closed
alinastarkov opened this issue May 21, 2019 · 0 comments · Fixed by #439
Closed

Table Border Bugs #434

alinastarkov opened this issue May 21, 2019 · 0 comments · Fixed by #439
Assignees
Labels
dash-type-bug Something isn't working as intended

Comments

@alinastarkov
Copy link
Contributor

The css property for table border overwrites the one in style_* props :

td {
  border-bottom: 1px solid #E1E1E1 
}
dash_table.DataTable(
    data=df.to_dict('records'),
    columns=[{'id': c, 'name': c} for c in df.columns],
    style_data={ 'border': '1px solid blue' },
    style_header={ 'border': '1px solid pink' }
)

Screen Shot 2019-05-21 at 11 41 20 AM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dash-type-bug Something isn't working as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants