TreeTableColumnScope

class TreeTableColumnScope<S>(val columns: MutableCollection<TreeTableColumn<S, *>>)

TreeTableColumn configurator interface.

Constructors

Link copied to clipboard
constructor(columns: MutableCollection<TreeTableColumn<S, *>>)

Properties

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

collection of columns within this scope.

Functions

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

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

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

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

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

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