kvision / pl.treksoft.kvision.tabulator / Tabulator / tabulator

tabulator

inline fun <reified T : Any> Container.tabulator(data: List<T>? = null, options: Options = Options(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), noinline init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>

DSL builder extension function.

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

inline fun <reified T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, noinline dataFactory: (S) -> List<T>, options: Options = Options(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), noinline init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>

DSL builder extension function for general redux store.

inline fun <reified T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: Options = Options(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), noinline init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>

DSL builder extension function for dedicated redux store (backed with a list).

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

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