CellAttributes

interface CellAttributes

This represents a collection of CSS cell attributes that can be applied to a cell in an HTML-rendered dataframe.

Cell attributes are created inside the FormattingDsl by calling FormatClause.with or FormatClause.perRowCol.

Multiple attributes can be combined using the and operator.

For instance:

df.format().with {background(white) andtextColor(black) }

For more information: See format on the documentation website.

See also

Inheritors

Functions

Link copied to clipboard

Combines two CellAttributes instances into a new one that combines their attributes.

Link copied to clipboard
abstract fun attributes(): List<Pair<String, String>>

Retrieves all CSS cell attributes as a list of name-value pairs.