Rows / Style
Row style
rowStyle provides a CSS style object that is applied individually to each row element. It is a static style — use rowClassRules for dynamic per-row styling.
Get row style
getRowStyle function provides a CSS style object that is applied individually to each row element.
Row class
rowClass applies a CSS class to every row. The class is not removed when the data is refreshed — try the Refresh data button and watch the styling stay in place.
Row class stays applied after a data refresh.
Get row class
getRowClass function returns CSS class(es) for each row. Classes are applied dynamically on every render.
Row class rules
rowClassRules maps rule names to predicates. Every row whose predicate returns true gets the rule name applied as a CSS class. Rules are dynamic and applied in batches — toggle the high-value rule and all visible rows update in a single pass.
Rules re-evaluate and apply in a single batch across all visible rows.