From bc2152266d0aa8b749d5202d54f9e7c4a5db5b5b Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 23 Jun 2019 14:12:10 +0200 Subject: API documentation for KVision 0.0.37 --- .../-tabulator/index.html | 71 ++++++++++++---------- 1 file changed, 40 insertions(+), 31 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 73671c1f..55e3630e 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, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), 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()) @@ -31,16 +31,7 @@ val data: List<T>? -

a list of serializable objects

- - - - -

dataSerializer

- - -val dataSerializer: KSerializer<T>? -

a serializer for class T

+

a list of objects

@@ -148,6 +139,15 @@ +

strictDOM

+ + +var strictDOM: Boolean +

Determines if the current widget is strictly bound to the DOM.

+ + + +

surroundingSpan

@@ -271,15 +271,6 @@ -

dataToNative

- - -fun dataToNative(data: List<T>, dataSerializer: KSerializer<T>): dynamic -

Converts a list of objects of type T to native JS array

- - - -

deselectRow

@@ -388,15 +379,6 @@ -

nativeToData

- - -fun nativeToData(data: dynamic, dataSerializer: KSerializer<T>): List<T> -

Converts a native JS array to the list of objects of type T

- - - -

navigateDown

@@ -499,7 +481,7 @@

replaceData

-open fun replaceData(data: List<T>): Unit +open fun replaceData(data: Array<T>): Unit

Silently replaces the data in a table.

@@ -526,7 +508,7 @@

setData

-open fun setData(data: List<T>): Unit +open fun setData(data: Array<T>): Unit

Sets new data in a table.

@@ -683,6 +665,15 @@ +

getAttribute

+ + +open fun getAttribute(name: String): String? +

Returns the value of an additional attribute.

+ + + +

getElement

@@ -772,6 +763,15 @@ +

removeAttribute

+ + +open fun removeAttribute(name: String): Widget +

Removes the value of additional attribute.

+ + + +

removeCssClass

@@ -813,6 +813,15 @@ +

setAttribute

+ + +open fun setAttribute(name: String, value: String): Widget +

Sets the value of additional attribute.

+ + + +

setContextMenu

-- cgit