Examples
Conditionally Style Mui Table Row
Body rows get their class from a function of the row: rows with an age over 50 are tinted red, and every row is in italics.
Try it
- Click
Ageand chooseSort descending. Rows with an age over 50 are red. - Click
Ageand chooseSort ascending. The first rows are not red.