HeaderFormatClause

class HeaderFormatClause<T, C>(val df: DataFrame<T>, val columns: ColumnsSelector<T, C> = { all().cast() }, val oldHeaderFormatter: HeaderColFormatter<C>? = null, val oldCellFormatter: RowColFormatter<T, *>? = null)

An intermediate class used in the header-format operation formatHeader.

This class itself does nothing—it represents a selection of columns whose headers will be formatted. Finalize this step by calling with to produce a new FormattedFrame.

Header formatting is additive and supports nested column groups: styles specified for a parent group are inherited by its child columns unless overridden for the child.

For more information: See formatHeader on the documentation website.

Constructors

Link copied to clipboard
constructor(df: DataFrame<T>, columns: ColumnsSelector<T, C> = { all().cast() }, oldHeaderFormatter: HeaderColFormatter<C>? = null, oldCellFormatter: RowColFormatter<T, *>? = null)

Properties

Link copied to clipboard
internal val columns: ColumnsSelector<T, C>
Link copied to clipboard
internal val df: DataFrame<T>
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard

Experimental API. It may be changed in the future.