DataTableContext

interface DataTableContext<T, I>

This context class integrates the configuration and the DSL for the whole data table using sub contexts with their own DSLs.

The main purpose is to integrate this directly into the DataTableComponent via delegation (DefaultContext).

See also

Functions

Link copied to clipboard
abstract fun columns(styling: BoxParams.(IndexedValue<StatefulItem<T>>) -> Unit = {}, expression: ColumnsContext<T>.() -> Unit)
Link copied to clipboard
abstract fun header(styling: Style<BasicParams> = {}, expression: HeaderContext.() -> Unit)
Link copied to clipboard
abstract fun options(value: OptionsContext<T>.() -> Unit)
Link copied to clipboard
abstract fun prependAdditionalColumns(expression: ColumnsContext<T>.() -> Unit)
Link copied to clipboard
abstract fun selection(value: SelectionContext<T, I>.() -> Unit)

Properties

Link copied to clipboard
abstract val columns: ComponentProperty<ColumnsContext<T>>
Link copied to clipboard
abstract val events: ComponentProperty<EventsContext<T, I>.() -> Unit>
Link copied to clipboard
abstract val header: ComponentProperty<HeaderContext>
Link copied to clipboard
abstract val options: ComponentProperty<OptionsContext<T>>
Link copied to clipboard
abstract val selection: ComponentProperty<SelectionContext<T, I>>
Link copied to clipboard
abstract val selectionStore: RowSelectionStore<T, I>

Inheritors

Link copied to clipboard
Link copied to clipboard