From a8ff23c5e58394c21e2e7c2a4880302b43b60dfd Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 16 May 2019 15:06:28 +0200 Subject: API documentation for KVision 0.0.36 --- .../-tabulator/index.html | 27 ++++++++++++++-------- 1 file changed, 18 insertions(+), 9 deletions(-) (limited to 'api/pl.treksoft.kvision.tabulator/-tabulator/index.html') diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator/index.html b/api/pl.treksoft.kvision.tabulator/-tabulator/index.html index 9eb0142d..73671c1f 100644 --- a/api/pl.treksoft.kvision.tabulator/-tabulator/index.html +++ b/api/pl.treksoft.kvision.tabulator/-tabulator/index.html @@ -18,7 +18,7 @@

<init>

-Tabulator(data: List<T>? = null, options: Options = Options(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), dataSerializer: KSerializer<T>? = null) +Tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), dataSerializer: KSerializer<T>? = null) @@ -45,6 +45,15 @@ +

dataUpdateOnEdit

+ + +val dataUpdateOnEdit: Boolean +

determines if the data model is automatically updated after tabulator edit action

+ + + +

filter

@@ -62,7 +71,7 @@

options

-val options: Options +val options: TabulatorOptions<T>

tabulator options

@@ -910,11 +919,11 @@

create

-fun <T : Any> create(data: List<T>? = null, options: Options = Options(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +fun <T : Any> create(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>

A helper function to create a Tabulator object with correct serializer.

-fun <T : Any, S : Any, A> create(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: Options = Options(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +fun <T : Any, S : Any, A> create(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>

A helper function to create a Tabulator object with correct serializer and general redux store.

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

A helper function to create a Tabulator object with correct serializer and dedicated redux store.

@@ -923,13 +932,13 @@

tabulator

-fun <T : Any> Container.tabulator(data: List<T>? = null, options: Options = Options(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +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.

-fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>,