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/-init-.html | 8 +++++-- .../-tabulator/create.html | 12 +++++----- .../-tabulator/data-update-on-edit.html | 15 ++++++++++++ .../-tabulator/index.html | 27 ++++++++++++++-------- .../-tabulator/options.html | 2 +- .../-tabulator/tabulator.html | 16 ++++++------- 6 files changed, 54 insertions(+), 26 deletions(-) create mode 100644 api/pl.treksoft.kvision.tabulator/-tabulator/data-update-on-edit.html (limited to 'api/pl.treksoft.kvision.tabulator/-tabulator') diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator/-init-.html b/api/pl.treksoft.kvision.tabulator/-tabulator/-init-.html index f361047c..2e479254 100644 --- a/api/pl.treksoft.kvision.tabulator/-tabulator/-init-.html +++ b/api/pl.treksoft.kvision.tabulator/-tabulator/-init-.html @@ -8,15 +8,19 @@ kvision / pl.treksoft.kvision.tabulator / Tabulator / <init>

<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)

Parameters

T - serializable type

data - a list of serializable objects

+

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

options - tabulator options

+

+types - a set of table types

classes - a set of CSS class names

diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator/create.html b/api/pl.treksoft.kvision.tabulator/-tabulator/create.html index 916db7fc..e506a331 100644 --- a/api/pl.treksoft.kvision.tabulator/-tabulator/create.html +++ b/api/pl.treksoft.kvision.tabulator/-tabulator/create.html @@ -8,14 +8,14 @@ kvision / pl.treksoft.kvision.tabulator / Tabulator / create

create

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

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

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

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

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

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

diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator/data-update-on-edit.html b/api/pl.treksoft.kvision.tabulator/-tabulator/data-update-on-edit.html new file mode 100644 index 00000000..394b3b69 --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/-tabulator/data-update-on-edit.html @@ -0,0 +1,15 @@ + + + +Tabulator.dataUpdateOnEdit - kvision + + + +kvision / pl.treksoft.kvision.tabulator / Tabulator / dataUpdateOnEdit
+
+

dataUpdateOnEdit

+ +protected val dataUpdateOnEdit: Boolean +

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

+ + 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(),