TableColumnScope

interface TableColumnScope<S>

TableColumn configurator interface.

Functions

Link copied to clipboard
open fun <T> append(text: String? = null): TableColumn<S, T>

Add a default column using text, returning the column added.

open fun <T> append(text: String? = null, configuration: TableColumn<S, T>.() -> Unit): TableColumn<S, T>

Add a column using text and configuration block, returning the column added.

Link copied to clipboard
open operator fun <T> String.invoke(configuration: TableColumn<S, T>.() -> Unit): TableColumn<S, T>

Add a column using receiver and configuration block, returning the column added.

Properties

Link copied to clipboard
abstract val columns: MutableCollection<TableColumn<S, *>>

Collection of columns within this scope.