Alternate Data Grid Row Background Colors
React Data Grid
File of interest
deebo-grid/src/index.css
deebo-grid/src/index.css
How to Alternate Row Background Colors
Locate the file above in the project. Then, do a ctrl + F (search) for the code snippet below:
This is the css selector for alternate rows. Simply uncomment the css rules that match this selector as they are commented out by default. You can change the background color property to whatever you need.
.data-table-row:not(.data-row-selected):nth-of-type(even)
This is the css selector for alternate rows. Simply uncomment the css rules that match this selector as they are commented out by default. You can change the background color property to whatever you need.