RowColFormatter

A lambda function expecting a CellAttributes or null given an instance of DataRow<T> and ColumnWithPath<C>.

This is similar to a RowColumnExpression, except that you also have access to the FormattingDsl in the context.

The formatting DSL allows you to create and combine CellAttributes to apply to one or multiple cells of a dataframe such that they have specific CSS attributes applied to them when rendered to HTML.

For instance, to specify black, bold text on a white background, you could write:

background(white) and textColor(black) and bold

It's also possible to define your own colors using rgb or interpolate colors using linear.

Use attr if you want to specify a custom CSS attribute.

For more information: See format on the documentation website.