From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- api/pl.treksoft.kvision.tabulator/tabulator.html | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 api/pl.treksoft.kvision.tabulator/tabulator.html (limited to 'api/pl.treksoft.kvision.tabulator/tabulator.html') diff --git a/api/pl.treksoft.kvision.tabulator/tabulator.html b/api/pl.treksoft.kvision.tabulator/tabulator.html new file mode 100644 index 00000000..03fa6d86 --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/tabulator.html @@ -0,0 +1,25 @@ + + + +tabulator - kvision + + + +kvision / pl.treksoft.kvision.tabulator / tabulator
+
+

tabulator

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

DSL builder extension function.

+

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

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

DSL builder extension function for general redux store.

+ +fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), 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: TabulatorOptions<T> = TabulatorOptions(), 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).

+ + -- cgit