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

columns
Link copied to clipboard
js
abstract fun columns(styling: BoxParams.(IndexedValue<StatefulItem<T>>) -> Unit = {}, expression: ColumnsContext<T>.() -> Unit)
equals
Link copied to clipboard
js
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
js
open fun hashCode(): Int
header
Link copied to clipboard
js
abstract fun header(styling: Style<BasicParams> = {}, expression: HeaderContext.() -> Unit)
options
Link copied to clipboard
js
abstract fun options(value: OptionsContext<T>.() -> Unit)
prependAdditionalColumns
Link copied to clipboard
js
abstract fun prependAdditionalColumns(expression: ColumnsContext<T>.() -> Unit)
selection
Link copied to clipboard
js
abstract fun selection(value: SelectionContext<T, I>.() -> Unit)
toString
Link copied to clipboard
js
open fun toString(): String

Properties

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

Inheritors

DataTableComponent
Link copied to clipboard
DefaultContext
Link copied to clipboard