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)
Functions
Link copied to clipboard
internal fun <T, C> HeaderFormatClause<T, C>.formatHeaderImpl(formatter: HeaderColFormatter<C>): FormattedFrame<T>
Link copied to clipboard
Experimental API. It may be changed in the future.