kvision / pl.treksoft.kvision.tabulator / tabulator

tabulator

(js) fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String>? = null, className: String? = null, init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>

DSL builder extension function.

It takes the same parameters as the constructor of the built component.

(js) fun <T : Any, S : Any> Container.tabulator(store: ObservableState<S>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String>? = null, className: String? = null, init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>

DSL builder extension function for a general observable store.

(js) fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String>? = null, className: String? = null, init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>

DSL builder extension function for dynamic data (send within options parameter).