react-sticky-table
react-sticky-table copied to clipboard
Alternate Color Rows
Just wondering if their is support for alternate color rows? I tried doing it myself by modifying the CSS but doesn't seem to work for me.
I think you need to target the cells because they have a white background. Selecting the even/odd rows and then their cells
.sticky-table-row:nth-of-type(odd) .sticky-table-cell {
background: grey;
}