Columns / Column style
Column-level styling targets the entire column body at once. Each leaf column accepts getColumnStyle for inline styles and getColumnClass/columnClassRules for CSS classes. Unlike cell-level callbacks, they receive a ColumnStyleParams (column, values, api, state) with every visible value of the column and are evaluated once per column per dataset revision — the result is cached and applied to each rendered cell in O(1). Each example starts with 10 rows; use Add row/Remove row to append or drop rows at the end of the dataset and watch the aggregates — and the column presentation — re-evaluate. For per-cell styling use cellStyle/getCellStyle/cellClass instead; cell-level styles override column-level styles where they overlap.
Get column style
Get column class
demo-column-steep only after Add row pushes the sum over the limit, and loses it when rows are removed. The Speed column keeps demo-column-fast while any visible speed exceeds 5M km/h.