gregnb / gregnb/mui-datatables

Question: How to style expanded rows?

Open
#798 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
2.7k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

Hi, i'm new to React and Datatables and have trouble styling expandable rows (the text in expandable row is brekaing with every word and has no left padding: http://prntscr.com/olv159). I styled everything else in table with the help of CSS classes, but expandable rows are not assigned any CSS class.

I tried with vairations of following CSS but its not working:
td.Mui-expanded {
background-color: red !important;
padding-left: 2rem;
}
Thanks for any suggestions and help :)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.