DocsExamplesMore examples

Examples

Style Mui Table Body Cell Conditionally In 1 Column

stTableBodyCellProps on the Age column styles its cells by value: ages over 40 get a green fill and bold text.

Try it

  1. Look at Age. Ages over 40 have a green fill and bold text.
  2. Click Column Actions on Age and choose Sort descending. Green cells move up.