Cell Decorators
JavaScript functions that toggle CSS classes on cells based on data values, enabling dynamic conditional styling for risk levels, status indicators, and threshold alerts.
CSS Classes
Custom CSS class definitions in the
styles configuration object, including RPN color coding, header group styling, bold formatting, and column-specific appearance rules.Conditional Formatting
Complete reference for combining cell decorators, styles, and formulas to create data-driven visual indicators for risk levels, workflow status, and field completeness.
Item Colors
Row-level and item-level color coding based on work item properties, risk parameters, and workflow status for visual risk identification across the grid.
Key Configuration Properties
| Property | Location | Purpose |
|---|---|---|
styles | Root of risksheet.json | Named CSS class definitions injected into the page |
cellDecorators | Root of risksheet.json | JavaScript functions that toggle CSS classes per cell |
cellCss | Column definition | Static CSS class always applied to a column’s cells |
headerGroupCss | Column definition | CSS class applied to the header group row |
headers.rowHeader.renderer | Headers configuration | Custom renderer for row header conditional styling |
Related Sections
- Formulas --- calculated values that drive conditional styling thresholds
- Configuration Properties Index --- full property reference for all
risksheet.jsonsettings - Column Types --- column definitions including
cellCssandcellRendererproperties
Sources
Sources
KB ArticlesSource Code
risksheet.jsonAppConfig.tsRiskSheetContextMenu.tsSheetConstants.tsCellEditorFormatter.ts