Cells / Style
Cell style
cellStyle provides a CSS style object that is applied individually to each cell element within the column. It is a static style — use getCellStyle for dynamic per-cell styling.
Get cell style
getCellStyle function provides a CSS style object that is applied individually to each cell element within the column.
Cell class
cellClass applies a CSS class to every cell within the column. The class persists across data refreshes.
Get cell class
getCellClass function returns CSS class(es) for each cell within the column. Classes are applied dynamically on every render.
Cell class rules
cellClassRules maps rule names to predicates. Every cell whose predicate returns true gets the rule name applied as a CSS class. Rules are dynamic and applied in batches — toggle the high-salary rule and all visible cells update in a single pass.
Rules re-evaluate and apply in a single batch across all visible cells.