Conditional row coloring

Live in demo 62-conditional-styling.

When

rowClass returns a class map per row; CSS does the rest.

How

Key API surface:

See the demo source for the full implementation; this recipe pins the pattern + the surface so you can copy-paste it confidently. The doc page that explains the underlying feature in depth is linked from the recipes index.

See also