From 2febd99a43e367e7100e9fc21bd6eef1cd1ea47e Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 13 Jul 2019 02:13:41 +0200 Subject: API documentation for KVision 0.0.38 --- .../-tabulator-options/-init-.html | 4 +- .../-tabulator-options/ajax-request-func.html | 2 +- .../-tabulator-options/ajax-u-r-l.html | 2 +- .../data-tree-branch-element.html | 14 + .../-tabulator-options/data-tree-child-field.html | 14 + .../-tabulator-options/data-tree-child-indent.html | 14 + .../data-tree-collapse-element.html | 14 + .../data-tree-element-column.html | 14 + .../data-tree-expand-element.html | 14 + .../data-tree-start-expanded.html | 14 + .../-tabulator-options/data-tree.html | 14 + .../-tabulator-options/index.html | 62 ++- .../-tabulator-remote/-init-.html | 31 ++ .../-tabulator-remote/index.html | 492 +++++++++++++++++++++ .../-tabulator-remote/tabulator-remote.html | 16 + .../-tabulator/index.html | 30 +- api/pl.treksoft.kvision.tabulator/index.html | 9 + 17 files changed, 737 insertions(+), 23 deletions(-) create mode 100644 api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-branch-element.html create mode 100644 api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-child-field.html create mode 100644 api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-child-indent.html create mode 100644 api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-collapse-element.html create mode 100644 api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-element-column.html create mode 100644 api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-expand-element.html create mode 100644 api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-start-expanded.html create mode 100644 api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree.html create mode 100644 api/pl.treksoft.kvision.tabulator/-tabulator-remote/-init-.html create mode 100644 api/pl.treksoft.kvision.tabulator/-tabulator-remote/index.html create mode 100644 api/pl.treksoft.kvision.tabulator/-tabulator-remote/tabulator-remote.html (limited to 'api/pl.treksoft.kvision.tabulator') diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator-options/-init-.html b/api/pl.treksoft.kvision.tabulator/-tabulator-options/-init-.html index f260ad80..7e021997 100644 --- a/api/pl.treksoft.kvision.tabulator/-tabulator-options/-init-.html +++ b/api/pl.treksoft.kvision.tabulator/-tabulator-options/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.tabulator / TabulatorOptions / <init>

<init>

- -TabulatorOptions(height: String? = null, virtualDom: Boolean? = null, virtualDomBuffer: Int? = null, placeholder: String? = null, footerElement: String? = null, tooltips: ((cell: Tabulator.CellComponent) -> String)? = null, tooltipGenerationMode: TooltipGenerationMode? = null, history: Boolean? = null, keybindings: dynamic = null, downloadDataFormatter: dynamic = null, downloadConfig: DownloadConfig? = null, reactiveData: Boolean? = null, autoResize: Boolean? = null, columns: List<ColumnDefinition<T>>? = null, autoColumns: Boolean? = null, layout: Layout? = null, layoutColumnsOnNewData: Boolean? = null, responsiveLayout: ResponsiveLayout? = null, responsiveLayoutCollapseStartOpen: Boolean? = null, responsiveLayoutCollapseUseFormatters: Boolean? = null, columnMinWidth: Int? = null, resizableColumns: Boolean? = null, movableColumns: Boolean? = null, tooltipsHeader: Boolean? = null, headerFilterPlaceholder: String? = null, scrollToColumnPosition: ColumnPosition? = null, scrollToColumnIfVisible: Boolean? = null, rowFormatter: ((row: Tabulator.RowComponent) -> Unit)? = null, addRowPos: RowPos? = null, selectable: dynamic = null, selectableRangeMode: RangeMode? = null, selectableRollingSelection: Boolean? = null, selectablePersistence: Boolean? = null, selectableCheck: ((row: Tabulator.RowComponent) -> Boolean)? = null, movableRows: Boolean? = null, movableRowsConnectedTables: dynamic = null, movableRowsSender: dynamic = null, movableRowsReceiver: dynamic = null, resizableRows: Boolean? = null, scrollToRowPosition: RowPosition? = null, scrollToRowIfVisible: Boolean? = null, index: String? = null, data: Array<T>? = null, ajaxURL: String? = null, ajaxParams: dynamic = null, ajaxConfig: dynamic = null, ajaxContentType: dynamic = null, ajaxURLGenerator: ((url: String, dynamic, dynamic) -> String)? = null, ajaxRequestFunc: ((url: String, dynamic, dynamic) -> Promise<Any>)? = null, ajaxFiltering: Boolean? = null, ajaxSorting: Boolean? = null, ajaxProgressiveLoad: ProgressiveMode? = null, ajaxProgressiveLoadDelay: Int? = null, ajaxProgressiveLoadScrollMargin: Int? = null, ajaxLoader: Boolean? = null, ajaxLoaderLoading: String? = null, ajaxLoaderError: String? = null, initialSort: List<Tabulator.Sorter>? = null, sortOrderReverse: Boolean? = null, initialFilter: List<Tabulator.Filter>? = null, initialHeaderFilter: List<Any?>? = null, pagination: PaginationMode? = null, paginationSize: Int? = null, paginationSizeSelector: Boolean? = null, paginationElement: dynamic = null, paginationDataReceived: dynamic = null, paginationDataSent: dynamic = null, paginationAddRow: AddRowMode? = null, paginationButtonCount: Int? = null, persistenceID: String? = null, persistenceMode: Boolean? = null, persistentLayout: Boolean? = null, persistentSort: Boolean? = null, persistentFilter: Boolean? = null, locale: String? = null, langs: dynamic = null, localized: ((locale: String, dynamic) -> Unit)? = null, dataTreeRowExpanded: ((row: Tabulator.RowComponent, level: Number) -> Unit)? = null, dataTreeRowCollapsed: ((row: Tabulator.RowComponent, level: Number) -> Unit)? = null, movableRowsSendingStart: ((toTables: Array<Any>) -> Unit)? = null, movableRowsSent: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsSentFailed: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsSendingStop: ((toTables: Array<Any>) -> Unit)? = null, movableRowsReceivingStart: ((fromRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsReceived: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, fromTable: Tabulator) -> Unit)? = null, movableRowsReceivedFailed: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, fromTable: Tabulator) -> Unit)? = null, movableRowsReceivingStop: ((fromTable: Tabulator) -> Unit)? = null, rowClick: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowDblClick: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowContext: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowTap: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowDblTap: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowTapHold: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseEnter: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseLeave: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseOver: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseOut: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseMove: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowAdded: ((row: Tabulator.RowComponent) -> Unit)? = null, rowUpdated: ((row: Tabulator.RowComponent) -> Unit)? = null, rowDeleted: ((row: Tabulator.RowComponent) -> Unit)? = null, rowMoved: ((row: Tabulator.RowComponent) -> Unit)? = null, rowResized: ((row: Tabulator.RowComponent) -> Unit)? = null, rowSelectionChanged: ((data: Array<Any>, rows: Array<Tabulator.RowComponent>) -> Unit)? = null, rowSelected: ((row: Tabulator.RowComponent) -> Unit)? = null, rowDeselected: ((row: Tabulator.RowComponent) -> Unit)? = null, cellClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellDblClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellContext: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellDblTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellTapHold: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseEnter: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseLeave: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseOver: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseOut: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseMove: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellEditing: ((cell: Tabulator.CellComponent) -> Unit)? = null, cellEdited: ((cell: Tabulator.CellComponent) -> Unit)? = null, cellEditCancelled: ((cell: Tabulator.CellComponent) -> Unit)? = null, columnMoved: ((column: Tabulator.ColumnComponent, columns: Array<dynamic>) -> Unit)? = null, columnResized: ((column: Tabulator.ColumnComponent) -> Unit)? = null, columnVisibilityChanged: ((column: Tabulator.ColumnComponent, visible: Boolean) -> Unit)? = null, columnTitleChanged: ((column: Tabulator.ColumnComponent) -> Unit)? = null, tableBuilding: (() -> Unit)? = null, tableBuilt: (() -> Unit)? = null, renderStarted: (() -> Unit)? = null, renderComplete: (() -> Unit)? = null, htmlImporting: (() -> Unit)? = null, htmlImported: (() -> Unit)? = null, dataLoading: ((data: List<T>) -> Unit)? = null, dataLoaded: ((data: List<T>) -> Unit)? = null, dataEdited: ((data: List<T>) -> Unit)? = null, pageLoaded: ((pageno: Int) -> Unit)? = null, dataSorting: ((sorters: Array<Tabulator.Sorter>) -> Unit)? = null, dataSorted: ((sorters: Array<Tabulator.Sorter>, rows: Array<Tabulator.RowComponent>) -> Unit)? = null, dataFiltering: ((filters: Array<Tabulator.Filter>) -> Unit)? = null, dataFiltered: ((filters: Array<Tabulator.Filter>, rows: Array<Tabulator.RowComponent>) -> Unit)? = null, validationFailed: ((cell: Tabulator.CellComponent, value: Any, dynamic) -> Unit)? = null, ajaxRequesting: ((url: String, dynamic) -> Boolean)? = null, ajaxResponse: ((url: String, dynamic, dynamic) -> Any)? = null, ajaxError: ((dynamic, textStatus: String, dynamic) -> Unit)? = null) + +TabulatorOptions(height: String? = null, virtualDom: Boolean? = null, virtualDomBuffer: Int? = null, placeholder: String? = null, footerElement: String? = null, tooltips: ((cell: Tabulator.CellComponent) -> String)? = null, tooltipGenerationMode: TooltipGenerationMode? = null, history: Boolean? = null, keybindings: dynamic = null, downloadDataFormatter: dynamic = null, downloadConfig: DownloadConfig? = null, reactiveData: Boolean? = null, autoResize: Boolean? = null, columns: List<ColumnDefinition<T>>? = null, autoColumns: Boolean? = null, layout: Layout? = null, layoutColumnsOnNewData: Boolean? = null, responsiveLayout: ResponsiveLayout? = null, responsiveLayoutCollapseStartOpen: Boolean? = null, responsiveLayoutCollapseUseFormatters: Boolean? = null, columnMinWidth: Int? = null, resizableColumns: Boolean? = null, movableColumns: Boolean? = null, tooltipsHeader: Boolean? = null, headerFilterPlaceholder: String? = null, scrollToColumnPosition: ColumnPosition? = null, scrollToColumnIfVisible: Boolean? = null, rowFormatter: ((row: Tabulator.RowComponent) -> Unit)? = null, addRowPos: RowPos? = null, selectable: dynamic = null, selectableRangeMode: RangeMode? = null, selectableRollingSelection: Boolean? = null, selectablePersistence: Boolean? = null, selectableCheck: ((row: Tabulator.RowComponent) -> Boolean)? = null, movableRows: Boolean? = null, movableRowsConnectedTables: dynamic = null, movableRowsSender: dynamic = null, movableRowsReceiver: dynamic = null, resizableRows: Boolean? = null, scrollToRowPosition: RowPosition? = null, scrollToRowIfVisible: Boolean? = null, index: String? = null, data: Array<T>? = null, ajaxURL: String? = null, ajaxParams: dynamic = null, ajaxConfig: dynamic = null, ajaxContentType: dynamic = null, ajaxURLGenerator: ((url: String, dynamic, dynamic) -> String)? = null, ajaxRequestFunc: ((url: String, dynamic, dynamic) -> Promise<Any>)? = null, ajaxFiltering: Boolean? = null, ajaxSorting: Boolean? = null, ajaxProgressiveLoad: ProgressiveMode? = null, ajaxProgressiveLoadDelay: Int? = null, ajaxProgressiveLoadScrollMargin: Int? = null, ajaxLoader: Boolean? = null, ajaxLoaderLoading: String? = null, ajaxLoaderError: String? = null, initialSort: List<Tabulator.Sorter>? = null, sortOrderReverse: Boolean? = null, initialFilter: List<Tabulator.Filter>? = null, initialHeaderFilter: List<Any?>? = null, pagination: PaginationMode? = null, paginationSize: Int? = null, paginationSizeSelector: Boolean? = null, paginationElement: dynamic = null, paginationDataReceived: dynamic = null, paginationDataSent: dynamic = null, paginationAddRow: AddRowMode? = null, paginationButtonCount: Int? = null, persistenceID: String? = null, persistenceMode: Boolean? = null, persistentLayout: Boolean? = null, persistentSort: Boolean? = null, persistentFilter: Boolean? = null, locale: String? = null, langs: dynamic = null, localized: ((locale: String, dynamic) -> Unit)? = null, dataTree: Boolean? = null, dataTreeChildField: String? = null, dataTreeCollapseElement: dynamic = null, dataTreeExpandElement: dynamic = null, dataTreeElementColumn: String? = null, dataTreeBranchElement: dynamic = null, dataTreeChildIndent: Number? = null, dataTreeStartExpanded: ((row: Tabulator.RowComponent, level: Number) -> Boolean)? = null, dataTreeRowExpanded: ((row: Tabulator.RowComponent, level: Number) -> Unit)? = null, dataTreeRowCollapsed: ((row: Tabulator.RowComponent, level: Number) -> Unit)? = null, movableRowsSendingStart: ((toTables: Array<Any>) -> Unit)? = null, movableRowsSent: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsSentFailed: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsSendingStop: ((toTables: Array<Any>) -> Unit)? = null, movableRowsReceivingStart: ((fromRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsReceived: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, fromTable: Tabulator) -> Unit)? = null, movableRowsReceivedFailed: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, fromTable: Tabulator) -> Unit)? = null, movableRowsReceivingStop: ((fromTable: Tabulator) -> Unit)? = null, rowClick: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowDblClick: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowContext: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowTap: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowDblTap: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowTapHold: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseEnter: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseLeave: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseOver: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseOut: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseMove: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowAdded: ((row: Tabulator.RowComponent) -> Unit)? = null, rowUpdated: ((row: Tabulator.RowComponent) -> Unit)? = null, rowDeleted: ((row: Tabulator.RowComponent) -> Unit)? = null, rowMoved: ((row: Tabulator.RowComponent) -> Unit)? = null, rowResized: ((row: Tabulator.RowComponent) -> Unit)? = null, rowSelectionChanged: ((data: Array<Any>, rows: Array<Tabulator.RowComponent>) -> Unit)? = null, rowSelected: ((row: Tabulator.RowComponent) -> Unit)? = null, rowDeselected: ((row: Tabulator.RowComponent) -> Unit)? = null, cellClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellDblClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellContext: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellDblTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellTapHold: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseEnter: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseLeave: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseOver: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseOut: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseMove: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellEditing: ((cell: Tabulator.CellComponent) -> Unit)? = null, cellEdited: ((cell: Tabulator.CellComponent) -> Unit)? = null, cellEditCancelled: ((cell: Tabulator.CellComponent) -> Unit)? = null, columnMoved: ((column: Tabulator.ColumnComponent, columns: Array<dynamic>) -> Unit)? = null, columnResized: ((column: Tabulator.ColumnComponent) -> Unit)? = null, columnVisibilityChanged: ((column: Tabulator.ColumnComponent, visible: Boolean) -> Unit)? = null, columnTitleChanged: ((column: Tabulator.ColumnComponent) -> Unit)? = null, tableBuilding: (() -> Unit)? = null, tableBuilt: (() -> Unit)? = null, renderStarted: (() -> Unit)? = null, renderComplete: (() -> Unit)? = null, htmlImporting: (() -> Unit)? = null, htmlImported: (() -> Unit)? = null, dataLoading: ((data: List<T>) -> Unit)? = null, dataLoaded: ((data: List<T>) -> Unit)? = null, dataEdited: ((data: List<T>) -> Unit)? = null, pageLoaded: ((pageno: Int) -> Unit)? = null, dataSorting: ((sorters: Array<Tabulator.Sorter>) -> Unit)? = null, dataSorted: ((sorters: Array<Tabulator.Sorter>, rows: Array<Tabulator.RowComponent>) -> Unit)? = null, dataFiltering: ((filters: Array<Tabulator.Filter>) -> Unit)? = null, dataFiltered: ((filters: Array<Tabulator.Filter>, rows: Array<Tabulator.RowComponent>) -> Unit)? = null, validationFailed: ((cell: Tabulator.CellComponent, value: Any, dynamic) -> Unit)? = null, ajaxRequesting: ((url: String, dynamic) -> Boolean)? = null, ajaxResponse: ((url: String, dynamic, dynamic) -> Any)? = null, ajaxError: ((dynamic, textStatus: String, dynamic) -> Unit)? = null)

Tabulator options.

diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator-options/ajax-request-func.html b/api/pl.treksoft.kvision.tabulator/-tabulator-options/ajax-request-func.html index ff466e54..dc0853cd 100644 --- a/api/pl.treksoft.kvision.tabulator/-tabulator-options/ajax-request-func.html +++ b/api/pl.treksoft.kvision.tabulator/-tabulator-options/ajax-request-func.html @@ -9,6 +9,6 @@

ajaxRequestFunc

-val ajaxRequestFunc: ((url: String, dynamic, dynamic) -> Promise<Any>)? +var ajaxRequestFunc: ((url: String, dynamic, dynamic) -> Promise<Any>)? diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator-options/ajax-u-r-l.html b/api/pl.treksoft.kvision.tabulator/-tabulator-options/ajax-u-r-l.html index 8a079f5b..90d6aaca 100644 --- a/api/pl.treksoft.kvision.tabulator/-tabulator-options/ajax-u-r-l.html +++ b/api/pl.treksoft.kvision.tabulator/-tabulator-options/ajax-u-r-l.html @@ -9,6 +9,6 @@

ajaxURL

-val ajaxURL: String? +var ajaxURL: String? diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-branch-element.html b/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-branch-element.html new file mode 100644 index 00000000..a439a00f --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-branch-element.html @@ -0,0 +1,14 @@ + + + +TabulatorOptions.dataTreeBranchElement - kvision + + + +kvision / pl.treksoft.kvision.tabulator / TabulatorOptions / dataTreeBranchElement
+
+

dataTreeBranchElement

+ +val dataTreeBranchElement: dynamic + + diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-child-field.html b/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-child-field.html new file mode 100644 index 00000000..4a5aa11c --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-child-field.html @@ -0,0 +1,14 @@ + + + +TabulatorOptions.dataTreeChildField - kvision + + + +kvision / pl.treksoft.kvision.tabulator / TabulatorOptions / dataTreeChildField
+
+

dataTreeChildField

+ +val dataTreeChildField: String? + + diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-child-indent.html b/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-child-indent.html new file mode 100644 index 00000000..c1d9ecba --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-child-indent.html @@ -0,0 +1,14 @@ + + + +TabulatorOptions.dataTreeChildIndent - kvision + + + +kvision / pl.treksoft.kvision.tabulator / TabulatorOptions / dataTreeChildIndent
+
+

dataTreeChildIndent

+ +val dataTreeChildIndent: Number? + + diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-collapse-element.html b/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-collapse-element.html new file mode 100644 index 00000000..ea53e5f7 --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-collapse-element.html @@ -0,0 +1,14 @@ + + + +TabulatorOptions.dataTreeCollapseElement - kvision + + + +kvision / pl.treksoft.kvision.tabulator / TabulatorOptions / dataTreeCollapseElement
+
+

dataTreeCollapseElement

+ +val dataTreeCollapseElement: dynamic + + diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-element-column.html b/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-element-column.html new file mode 100644 index 00000000..1dfe7b0a --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-element-column.html @@ -0,0 +1,14 @@ + + + +TabulatorOptions.dataTreeElementColumn - kvision + + + +kvision / pl.treksoft.kvision.tabulator / TabulatorOptions / dataTreeElementColumn
+
+

dataTreeElementColumn

+ +val dataTreeElementColumn: String? + + diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-expand-element.html b/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-expand-element.html new file mode 100644 index 00000000..641f52bb --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-expand-element.html @@ -0,0 +1,14 @@ + + + +TabulatorOptions.dataTreeExpandElement - kvision + + + +kvision / pl.treksoft.kvision.tabulator / TabulatorOptions / dataTreeExpandElement
+
+

dataTreeExpandElement

+ +val dataTreeExpandElement: dynamic + + diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-start-expanded.html b/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-start-expanded.html new file mode 100644 index 00000000..6f58b3de --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree-start-expanded.html @@ -0,0 +1,14 @@ + + + +TabulatorOptions.dataTreeStartExpanded - kvision + + + +kvision / pl.treksoft.kvision.tabulator / TabulatorOptions / dataTreeStartExpanded
+
+

dataTreeStartExpanded

+ +val dataTreeStartExpanded: ((row: Tabulator.RowComponent, level: Number) -> Boolean)? + + diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree.html b/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree.html new file mode 100644 index 00000000..6fdf7cc5 --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/-tabulator-options/data-tree.html @@ -0,0 +1,14 @@ + + + +TabulatorOptions.dataTree - kvision + + + +kvision / pl.treksoft.kvision.tabulator / TabulatorOptions / dataTree
+
+

dataTree

+ +val dataTree: Boolean? + + diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator-options/index.html b/api/pl.treksoft.kvision.tabulator/-tabulator-options/index.html index 33287247..c513dd27 100644 --- a/api/pl.treksoft.kvision.tabulator/-tabulator-options/index.html +++ b/api/pl.treksoft.kvision.tabulator/-tabulator-options/index.html @@ -18,7 +18,7 @@

<init>

-TabulatorOptions(height: String? = null, virtualDom: Boolean? = null, virtualDomBuffer: Int? = null, placeholder: String? = null, footerElement: String? = null, tooltips: ((cell: Tabulator.CellComponent) -> String)? = null, tooltipGenerationMode: TooltipGenerationMode? = null, history: Boolean? = null, keybindings: dynamic = null, downloadDataFormatter: dynamic = null, downloadConfig: DownloadConfig? = null, reactiveData: Boolean? = null, autoResize: Boolean? = null, columns: List<ColumnDefinition<T>>? = null, autoColumns: Boolean? = null, layout: Layout? = null, layoutColumnsOnNewData: Boolean? = null, responsiveLayout: ResponsiveLayout? = null, responsiveLayoutCollapseStartOpen: Boolean? = null, responsiveLayoutCollapseUseFormatters: Boolean? = null, columnMinWidth: Int? = null, resizableColumns: Boolean? = null, movableColumns: Boolean? = null, tooltipsHeader: Boolean? = null, headerFilterPlaceholder: String? = null, scrollToColumnPosition: ColumnPosition? = null, scrollToColumnIfVisible: Boolean? = null, rowFormatter: ((row: Tabulator.RowComponent) -> Unit)? = null, addRowPos: RowPos? = null, selectable: dynamic = null, selectableRangeMode: RangeMode? = null, selectableRollingSelection: Boolean? = null, selectablePersistence: Boolean? = null, selectableCheck: ((row: Tabulator.RowComponent) -> Boolean)? = null, movableRows: Boolean? = null, movableRowsConnectedTables: dynamic = null, movableRowsSender: dynamic = null, movableRowsReceiver: dynamic = null, resizableRows: Boolean? = null, scrollToRowPosition: RowPosition? = null, scrollToRowIfVisible: Boolean? = null, index: String? = null, data: Array<T>? = null, ajaxURL: String? = null, ajaxParams: dynamic = null, ajaxConfig: dynamic = null, ajaxContentType: dynamic = null, ajaxURLGenerator: ((url: String, dynamic, dynamic) -> String)? = null, ajaxRequestFunc: ((url: String, dynamic, dynamic) -> Promise<Any>)? = null, ajaxFiltering: Boolean? = null, ajaxSorting: Boolean? = null, ajaxProgressiveLoad: ProgressiveMode? = null, ajaxProgressiveLoadDelay: Int? = null, ajaxProgressiveLoadScrollMargin: Int? = null, ajaxLoader: Boolean? = null, ajaxLoaderLoading: String? = null, ajaxLoaderError: String? = null, initialSort: List<Tabulator.Sorter>? = null, sortOrderReverse: Boolean? = null, initialFilter: List<Tabulator.Filter>? = null, initialHeaderFilter: List<Any?>? = null, pagination: PaginationMode? = null, paginationSize: Int? = null, paginationSizeSelector: Boolean? = null, paginationElement: dynamic = null, paginationDataReceived: dynamic = null, paginationDataSent: dynamic = null, paginationAddRow: AddRowMode? = null, paginationButtonCount: Int? = null, persistenceID: String? = null, persistenceMode: Boolean? = null, persistentLayout: Boolean? = null, persistentSort: Boolean? = null, persistentFilter: Boolean? = null, locale: String? = null, langs: dynamic = null, localized: ((locale: String, dynamic) -> Unit)? = null, dataTreeRowExpanded: ((row: Tabulator.RowComponent, level: Number) -> Unit)? = null, dataTreeRowCollapsed: ((row: Tabulator.RowComponent, level: Number) -> Unit)? = null, movableRowsSendingStart: ((toTables: Array<Any>) -> Unit)? = null, movableRowsSent: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsSentFailed: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsSendingStop: ((toTables: Array<Any>) -> Unit)? = null, movableRowsReceivingStart: ((fromRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsReceived: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, fromTable: Tabulator) -> Unit)? = null, movableRowsReceivedFailed: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, fromTable: Tabulator) -> Unit)? = null, movableRowsReceivingStop: ((fromTable: Tabulator) -> Unit)? = null, rowClick: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowDblClick: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowContext: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowTap: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowDblTap: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowTapHold: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseEnter: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseLeave: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseOver: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseOut: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseMove: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowAdded: ((row: Tabulator.RowComponent) -> Unit)? = null, rowUpdated: ((row: Tabulator.RowComponent) -> Unit)? = null, rowDeleted: ((row: Tabulator.RowComponent) -> Unit)? = null, rowMoved: ((row: Tabulator.RowComponent) -> Unit)? = null, rowResized: ((row: Tabulator.RowComponent) -> Unit)? = null, rowSelectionChanged: ((data: Array<Any>, rows: Array<Tabulator.RowComponent>) -> Unit)? = null, rowSelected: ((row: Tabulator.RowComponent) -> Unit)? = null, rowDeselected: ((row: Tabulator.RowComponent) -> Unit)? = null, cellClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellDblClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellContext: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellDblTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellTapHold: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseEnter: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseLeave: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseOver: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseOut: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseMove: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellEditing: ((cell: Tabulator.CellComponent) -> Unit)? = null, cellEdited: ((cell: Tabulator.CellComponent) -> Unit)? = null, cellEditCancelled: ((cell: Tabulator.CellComponent) -> Unit)? = null, columnMoved: ((column: Tabulator.ColumnComponent, columns: Array<dynamic>) -> Unit)? = null, columnResized: ((column: Tabulator.ColumnComponent) -> Unit)? = null, columnVisibilityChanged: ((column: Tabulator.ColumnComponent, visible: Boolean) -> Unit)? = null, columnTitleChanged: ((column: Tabulator.ColumnComponent) -> Unit)? = null, tableBuilding: (() -> Unit)? = null, tableBuilt: (() -> Unit)? = null, renderStarted: (() -> Unit)? = null, renderComplete: (() -> Unit)? = null, htmlImporting: (() -> Unit)? = null, htmlImported: (() -> Unit)? = null, dataLoading: ((data: List<T>) -> Unit)? = null, dataLoaded: ((data: List<T>) -> Unit)? = null, dataEdited: ((data: List<T>) -> Unit)? = null, pageLoaded: ((pageno: Int) -> Unit)? = null, dataSorting: ((sorters: Array<Tabulator.Sorter>) -> Unit)? = null, dataSorted: ((sorters: Array<Tabulator.Sorter>, rows: Array<Tabulator.RowComponent>) -> Unit)? = null, dataFiltering: ((filters: Array<Tabulator.Filter>) -> Unit)? = null, dataFiltered: ((filters: Array<Tabulator.Filter>, rows: Array<Tabulator.RowComponent>) -> Unit)? = null, validationFailed: ((cell: Tabulator.CellComponent, value: Any, dynamic) -> Unit)? = null, ajaxRequesting: ((url: String, dynamic) -> Boolean)? = null, ajaxResponse: ((url: String, dynamic, dynamic) -> Any)? = null, ajaxError: ((dynamic, textStatus: String, dynamic) -> Unit)? = null) +TabulatorOptions(height: String? = null, virtualDom: Boolean? = null, virtualDomBuffer: Int? = null, placeholder: String? = null, footerElement: String? = null, tooltips: ((cell: Tabulator.CellComponent) -> String)? = null, tooltipGenerationMode: TooltipGenerationMode? = null, history: Boolean? = null, keybindings: dynamic = null, downloadDataFormatter: dynamic = null, downloadConfig: DownloadConfig? = null, reactiveData: Boolean? = null, autoResize: Boolean? = null, columns: List<ColumnDefinition<T>>? = null, autoColumns: Boolean? = null, layout: Layout? = null, layoutColumnsOnNewData: Boolean? = null, responsiveLayout: ResponsiveLayout? = null, responsiveLayoutCollapseStartOpen: Boolean? = null, responsiveLayoutCollapseUseFormatters: Boolean? = null, columnMinWidth: Int? = null, resizableColumns: Boolean? = null, movableColumns: Boolean? = null, tooltipsHeader: Boolean? = null, headerFilterPlaceholder: String? = null, scrollToColumnPosition: ColumnPosition? = null, scrollToColumnIfVisible: Boolean? = null, rowFormatter: ((row: Tabulator.RowComponent) -> Unit)? = null, addRowPos: RowPos? = null, selectable: dynamic = null, selectableRangeMode: RangeMode? = null, selectableRollingSelection: Boolean? = null, selectablePersistence: Boolean? = null, selectableCheck: ((row: Tabulator.RowComponent) -> Boolean)? = null, movableRows: Boolean? = null, movableRowsConnectedTables: dynamic = null, movableRowsSender: dynamic = null, movableRowsReceiver: dynamic = null, resizableRows: Boolean? = null, scrollToRowPosition: RowPosition? = null, scrollToRowIfVisible: Boolean? = null, index: String? = null, data: Array<T>? = null, ajaxURL: String? = null, ajaxParams: dynamic = null, ajaxConfig: dynamic = null, ajaxContentType: dynamic = null, ajaxURLGenerator: ((url: String, dynamic, dynamic) -> String)? = null, ajaxRequestFunc: ((url: String, dynamic, dynamic) -> Promise<Any>)? = null, ajaxFiltering: Boolean? = null, ajaxSorting: Boolean? = null, ajaxProgressiveLoad: ProgressiveMode? = null, ajaxProgressiveLoadDelay: Int? = null, ajaxProgressiveLoadScrollMargin: Int? = null, ajaxLoader: Boolean? = null, ajaxLoaderLoading: String? = null, ajaxLoaderError: String? = null, initialSort: List<Tabulator.Sorter>? = null, sortOrderReverse: Boolean? = null, initialFilter: List<Tabulator.Filter>? = null, initialHeaderFilter: List<Any?>? = null, pagination: PaginationMode? = null, paginationSize: Int? = null, paginationSizeSelector: Boolean? = null, paginationElement: dynamic = null, paginationDataReceived: dynamic = null, paginationDataSent: dynamic = null, paginationAddRow: AddRowMode? = null, paginationButtonCount: Int? = null, persistenceID: String? = null, persistenceMode: Boolean? = null, persistentLayout: Boolean? = null, persistentSort: Boolean? = null, persistentFilter: Boolean? = null, locale: String? = null, langs: dynamic = null, localized: ((locale: String, dynamic) -> Unit)? = null, dataTree: Boolean? = null, dataTreeChildField: String? = null, dataTreeCollapseElement: dynamic = null, dataTreeExpandElement: dynamic = null, dataTreeElementColumn: String? = null, dataTreeBranchElement: dynamic = null, dataTreeChildIndent: Number? = null, dataTreeStartExpanded: ((row: Tabulator.RowComponent, level: Number) -> Boolean)? = null, dataTreeRowExpanded: ((row: Tabulator.RowComponent, level: Number) -> Unit)? = null, dataTreeRowCollapsed: ((row: Tabulator.RowComponent, level: Number) -> Unit)? = null, movableRowsSendingStart: ((toTables: Array<Any>) -> Unit)? = null, movableRowsSent: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsSentFailed: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsSendingStop: ((toTables: Array<Any>) -> Unit)? = null, movableRowsReceivingStart: ((fromRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsReceived: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, fromTable: Tabulator) -> Unit)? = null, movableRowsReceivedFailed: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, fromTable: Tabulator) -> Unit)? = null, movableRowsReceivingStop: ((fromTable: Tabulator) -> Unit)? = null, rowClick: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowDblClick: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowContext: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowTap: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowDblTap: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowTapHold: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseEnter: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseLeave: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseOver: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseOut: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseMove: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowAdded: ((row: Tabulator.RowComponent) -> Unit)? = null, rowUpdated: ((row: Tabulator.RowComponent) -> Unit)? = null, rowDeleted: ((row: Tabulator.RowComponent) -> Unit)? = null, rowMoved: ((row: Tabulator.RowComponent) -> Unit)? = null, rowResized: ((row: Tabulator.RowComponent) -> Unit)? = null, rowSelectionChanged: ((data: Array<Any>, rows: Array<Tabulator.RowComponent>) -> Unit)? = null, rowSelected: ((row: Tabulator.RowComponent) -> Unit)? = null, rowDeselected: ((row: Tabulator.RowComponent) -> Unit)? = null, cellClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellDblClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellContext: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellDblTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellTapHold: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseEnter: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseLeave: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseOver: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseOut: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseMove: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellEditing: ((cell: Tabulator.CellComponent) -> Unit)? = null, cellEdited: ((cell: Tabulator.CellComponent) -> Unit)? = null, cellEditCancelled: ((cell: Tabulator.CellComponent) -> Unit)? = null, columnMoved: ((column: Tabulator.ColumnComponent, columns: Array<dynamic>) -> Unit)? = null, columnResized: ((column: Tabulator.ColumnComponent) -> Unit)? = null, columnVisibilityChanged: ((column: Tabulator.ColumnComponent, visible: Boolean) -> Unit)? = null, columnTitleChanged: ((column: Tabulator.ColumnComponent) -> Unit)? = null, tableBuilding: (() -> Unit)? = null, tableBuilt: (() -> Unit)? = null, renderStarted: (() -> Unit)? = null, renderComplete: (() -> Unit)? = null, htmlImporting: (() -> Unit)? = null, htmlImported: (() -> Unit)? = null, dataLoading: ((data: List<T>) -> Unit)? = null, dataLoaded: ((data: List<T>) -> Unit)? = null, dataEdited: ((data: List<T>) -> Unit)? = null, pageLoaded: ((pageno: Int) -> Unit)? = null, dataSorting: ((sorters: Array<Tabulator.Sorter>) -> Unit)? = null, dataSorted: ((sorters: Array<Tabulator.Sorter>, rows: Array<Tabulator.RowComponent>) -> Unit)? = null, dataFiltering: ((filters: Array<Tabulator.Filter>) -> Unit)? = null, dataFiltered: ((filters: Array<Tabulator.Filter>, rows: Array<Tabulator.RowComponent>) -> Unit)? = null, validationFailed: ((cell: Tabulator.CellComponent, value: Any, dynamic) -> Unit)? = null, ajaxRequesting: ((url: String, dynamic) -> Boolean)? = null, ajaxResponse: ((url: String, dynamic, dynamic) -> Any)? = null, ajaxError: ((dynamic, textStatus: String, dynamic) -> Unit)? = null)

Tabulator options.

@@ -116,7 +116,7 @@

ajaxRequestFunc

-val ajaxRequestFunc: ((url: String, dynamic, dynamic) -> Promise<Any>)? +var ajaxRequestFunc: ((url: String, dynamic, dynamic) -> Promise<Any>)? @@ -144,7 +144,7 @@

ajaxURL

-val ajaxURL: String? +var ajaxURL: String? @@ -365,6 +365,55 @@ +

dataTree

+ + +val dataTree: Boolean? + + + +

dataTreeBranchElement

+ + +val dataTreeBranchElement: dynamic + + + +

dataTreeChildField

+ + +val dataTreeChildField: String? + + + +

dataTreeChildIndent

+ + +val dataTreeChildIndent: Number? + + + +

dataTreeCollapseElement

+ + +val dataTreeCollapseElement: dynamic + + + +

dataTreeElementColumn

+ + +val dataTreeElementColumn: String? + + + +

dataTreeExpandElement

+ + +val dataTreeExpandElement: dynamic + + +

dataTreeRowCollapsed

@@ -379,6 +428,13 @@ +

dataTreeStartExpanded

+ + +val dataTreeStartExpanded: ((row: Tabulator.RowComponent, level: Number) -> Boolean)? + + +

downloadConfig

diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator-remote/-init-.html b/api/pl.treksoft.kvision.tabulator/-tabulator-remote/-init-.html new file mode 100644 index 00000000..b3dfa525 --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/-tabulator-remote/-init-.html @@ -0,0 +1,31 @@ + + + +TabulatorRemote.<init> - kvision + + + +kvision / pl.treksoft.kvision.tabulator / TabulatorRemote / <init>
+
+

<init>

+ +TabulatorRemote(serviceManager: KVServiceManager<E>, function: E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf()) +

Parameters

+

+T - type of row data

+

+E - type of service manager

+

+serviceManager - multiplatform service manager

+

+function - multiplatform service method returning tabulator rows data

+

+options - tabulator options

+

+types - a set of table types

+

+classes - a set of CSS class names

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator-remote/index.html b/api/pl.treksoft.kvision.tabulator/-tabulator-remote/index.html new file mode 100644 index 00000000..71e24998 --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/-tabulator-remote/index.html @@ -0,0 +1,492 @@ + + + +TabulatorRemote - kvision + + + +kvision / pl.treksoft.kvision.tabulator / TabulatorRemote
+
+

TabulatorRemote

+open class TabulatorRemote<T : Any, E : Any> : Tabulator<T> +

Tabulator component connected to the multiplatform service.

+

Constructors

+ + + + + + + +
+

<init>

+
+TabulatorRemote(serviceManager: KVServiceManager<E>, function: E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf())
+

Inherited Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

data

+
+val data: List<T>? +

a list of objects

+
+

dataUpdateOnEdit

+
+val dataUpdateOnEdit: Boolean +

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

+
+

filter

+
+var filter: ((T) -> Boolean)?
+

jsTabulator

+
+var jsTabulator: Tabulator?
+

options

+
+val options: TabulatorOptions<T> +

tabulator options

+
+

types

+
+var types: Set<TableType> +

Table types.

+
+

Inherited Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

afterDestroy

+
+open fun afterDestroy(): Unit +

Method called after destroying Snabbdom vnode.

+
+

afterInsert

+
+open fun afterInsert(node: VNode): Unit +

Method called after inserting Snabbdom vnode into the DOM.

+
+

applyFilter

+
+open fun applyFilter(): Unit +

Applies the current filter.

+
+

clearData

+
+open fun clearData(): Unit? +

Clears the data in the table.

+
+

clearFilter

+
+open fun clearFilter(includeHeaderFilters: Boolean = true): Unit +

Clears current filters.

+
+

clearHeaderFilter

+
+open fun clearHeaderFilter(): Unit +

Clears header filters.

+
+

clearSort

+
+open fun clearSort(): Unit +

Clears current sort.

+
+

createJsTabulator

+
+fun createJsTabulator(): Unit +

Creates internal JS Tabulator object

+
+

deselectRow

+
+open fun deselectRow(row: Int): Unit +

Deselect the row given by id.

+
+

getData

+
+open fun getData(active: Boolean): List<T>? +

Returns the current data in the table.

+
+

getDataCount

+
+open fun getDataCount(activeOnly: Boolean = false): Int +

Get the number of data rows.

+
+

getHistoryRedoSize

+
+open fun getHistoryRedoSize(): Int +

Get the number of history redo actions available.

+
+

getHistoryUndoSize

+
+open fun getHistoryUndoSize(): Int +

Get the number of history undo actions available.

+
+

getHtml

+
+open fun getHtml(activeOnly: Boolean = false): String? +

Get the HTML code of the table.

+
+

getPage

+
+open fun getPage(): Int +

Returns current page number.

+
+

getPageMax

+
+open fun getPageMax(): Int +

Returns number of pages.

+
+

getPageSize

+
+open fun getPageSize(): Int +

Returns the size of a page.

+
+

getSelectedData

+
+open fun getSelectedData(): List<T> +

Returns the selected data in the table.

+
+

getSelectedRows

+
+open fun getSelectedRows(): List<Tabulator.RowComponent> +

Returns the selected rows.

+
+

getSnClass

+
+open fun getSnClass(): List<StringBoolPair> +

Returns list of CSS class names for current widget in the form of a List.

+
+

navigateDown

+
+open fun navigateDown(): Unit +

Navigate to the same cell in the row below.

+
+

navigateLeft

+
+open fun navigateLeft(): Unit +

Navigate to the cell on the left.

+
+

navigateNext

+
+open fun navigateNext(): Unit +

Navigate to the next cell.

+
+

navigatePrev

+
+open fun navigatePrev(): Unit +

Navigate to the previous cell.

+
+

navigateRight

+
+open fun navigateRight(): Unit +

Navigate to the cell on the right.

+
+

navigateUp

+
+open fun navigateUp(): Unit +

Navigate to the same cell in the row above.

+
+

nextPage

+
+open fun nextPage(): Unit +

Navigate to the next page.

+
+

previousPage

+
+open fun previousPage(): Unit +

Navigate to the previous page.

+
+

redo

+
+open fun redo(): Boolean +

Redo the last undone user action.

+
+

redraw

+
+open fun redraw(force: Boolean = false): Unit +

Redraw the table (e.g. after a resize).

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+

replaceData

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

Silently replaces the data in a table.

+
+

scrollToRow

+
+open fun scrollToRow(row: Int, position: RowPosition? = null, ifVisible: Boolean? = null): Unit +

Scroll to the row given by id.

+
+

selectRow

+
+open fun selectRow(row: Int): Unit +

Select the row given by id.

+
+

setData

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

Sets new data in a table.

+
+

setFilter

+
+open fun setFilter(filter: (T) -> Boolean): Unit +

Sets the external filter for the data.

+
+

setHeight

+
+open fun setHeight(height: Int): Unit +

Change the height of the table.

+
+

setPage

+
+open fun setPage(page: Int): Unit +

Shows given page.

+
+

setPageSize

+
+open fun setPageSize(size: Int): Unit +

Set the size of a page.

+
+

setPageToRow

+
+open fun setPageToRow(row: Int): Unit +

Shows page with a row given by id.

+
+

toggleSelectRow

+
+open fun toggleSelectRow(row: Int): Unit +

Toggle selection status of the row given by id.

+
+

undo

+
+open fun undo(): Boolean +

Undo the last user action.

+
+

Companion Object Functions

+ + + + + + + +
+

tabulatorRemote

+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator-remote/tabulator-remote.html b/api/pl.treksoft.kvision.tabulator/-tabulator-remote/tabulator-remote.html new file mode 100644 index 00000000..37da6f22 --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/-tabulator-remote/tabulator-remote.html @@ -0,0 +1,16 @@ + + + +TabulatorRemote.tabulatorRemote - kvision + + + +kvision / pl.treksoft.kvision.tabulator / TabulatorRemote / tabulatorRemote
+
+

tabulatorRemote

+ +fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +

DSL builder extension function.

+

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

+ + diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator/index.html b/api/pl.treksoft.kvision.tabulator/-tabulator/index.html index 55e3630e..bb240e27 100644 --- a/api/pl.treksoft.kvision.tabulator/-tabulator/index.html +++ b/api/pl.treksoft.kvision.tabulator/-tabulator/index.html @@ -139,15 +139,6 @@ -

strictDOM

- - -var strictDOM: Boolean -

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

- - - -

surroundingSpan

@@ -180,13 +171,6 @@ -

vnkey

- - -var vnkey: String? - - -

vnode

@@ -967,5 +951,19 @@ +

Inheritors

+ + + + + + + +
+

TabulatorRemote

+
+open class TabulatorRemote<T : Any, E : Any> : Tabulator<T> +

Tabulator component connected to the multiplatform service.

+
diff --git a/api/pl.treksoft.kvision.tabulator/index.html b/api/pl.treksoft.kvision.tabulator/index.html index 8e638194..c98469eb 100644 --- a/api/pl.treksoft.kvision.tabulator/index.html +++ b/api/pl.treksoft.kvision.tabulator/index.html @@ -194,6 +194,15 @@ +

TabulatorRemote

+ + +open class TabulatorRemote<T : Any, E : Any> : Tabulator<T> +

Tabulator component connected to the multiplatform service.

+ + + +

TooltipGenerationMode

-- cgit