kvision / pl.treksoft.kvision.tabulator / TabulatorOptions

TabulatorOptions

(js) data class TabulatorOptions<T : Any>

Tabulator options.

Constructors

(js)

<init>

Tabulator options.

TabulatorOptions(height: String? = null, virtualDom: Boolean? = null, virtualDomBuffer: Int? = null, placeholder: String? = null, footerElement: String? = null, tooltips: ((cell: 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: RowComponent) -> Unit)? = null, addRowPos: RowPos? = null, selectable: dynamic = null, selectableRangeMode: RangeMode? = null, selectableRollingSelection: Boolean? = null, selectablePersistence: Boolean? = null, selectableCheck: ((row: 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<Sorter>? = null, sortOrderReverse: Boolean? = null, initialFilter: List<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, headerVisible: Boolean? = null, htmlOutputConfig: dynamic = null, printAsHtml: Boolean? = null, printConfig: dynamic = null, printCopyStyle: Boolean? = null, printVisibleRows: Boolean? = null, printHeader: String? = null, printFooter: String? = null, printFormatter: ((dynamic, dynamic) -> Unit)? = null, tabEndNewRow: dynamic = null, headerSort: Boolean? = null, headerSortTristate: Boolean? = null, invalidOptionWarnings: Boolean? = null, dataTree: Boolean? = null, dataTreeChildField: String? = null, dataTreeCollapseElement: dynamic = null, dataTreeExpandElement: dynamic = null, dataTreeElementColumn: String? = null, dataTreeBranchElement: dynamic = null, dataTreeChildIndent: Number? = null, dataTreeStartExpanded: ((row: RowComponent, level: Number) -> Boolean)? = null, dataTreeRowExpanded: ((row: RowComponent, level: Number) -> Unit)? = null, dataTreeRowCollapsed: ((row: RowComponent, level: Number) -> Unit)? = null, movableRowsSendingStart: ((toTables: Array<Any>) -> Unit)? = null, movableRowsSent: ((fromRow: RowComponent, toRow: RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsSentFailed: ((fromRow: RowComponent, toRow: RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsSendingStop: ((toTables: Array<Any>) -> Unit)? = null, movableRowsReceivingStart: ((fromRow: RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsReceived: ((fromRow: RowComponent, toRow: RowComponent, fromTable: Tabulator) -> Unit)? = null, movableRowsReceivedFailed: ((fromRow: RowComponent, toRow: RowComponent, fromTable: Tabulator) -> Unit)? = null, movableRowsReceivingStop: ((fromTable: Tabulator) -> Unit)? = null, rowClick: ((dynamic, row: RowComponent) -> Unit)? = null, rowDblClick: ((dynamic, row: RowComponent) -> Unit)? = null, rowContext: ((dynamic, row: RowComponent) -> Unit)? = null, rowTap: ((dynamic, row: RowComponent) -> Unit)? = null, rowDblTap: ((dynamic, row: RowComponent) -> Unit)? = null, rowTapHold: ((dynamic, row: RowComponent) -> Unit)? = null, rowMouseEnter: ((dynamic, row: RowComponent) -> Unit)? = null, rowMouseLeave: ((dynamic, row: RowComponent) -> Unit)? = null, rowMouseOver: ((dynamic, row: RowComponent) -> Unit)? = null, rowMouseOut: ((dynamic, row: RowComponent) -> Unit)? = null, rowMouseMove: ((dynamic, row: RowComponent) -> Unit)? = null, rowAdded: ((row: RowComponent) -> Unit)? = null, rowUpdated: ((row: RowComponent) -> Unit)? = null, rowDeleted: ((row: RowComponent) -> Unit)? = null, rowMoved: ((row: RowComponent) -> Unit)? = null, rowResized: ((row: RowComponent) -> Unit)? = null, rowSelectionChanged: ((data: Array<Any>, rows: Array<RowComponent>) -> Unit)? = null, rowSelected: ((row: RowComponent) -> Unit)? = null, rowDeselected: ((row: RowComponent) -> Unit)? = null, cellClick: ((e: Any, cell: CellComponent) -> Unit)? = null, cellDblClick: ((e: Any, cell: CellComponent) -> Unit)? = null, cellContext: ((e: Any, cell: CellComponent) -> Unit)? = null, cellTap: ((e: Any, cell: CellComponent) -> Unit)? = null, cellDblTap: ((e: Any, cell: CellComponent) -> Unit)? = null, cellTapHold: ((e: Any, cell: CellComponent) -> Unit)? = null, cellMouseEnter: ((e: Any, cell: CellComponent) -> Unit)? = null, cellMouseLeave: ((e: Any, cell: CellComponent) -> Unit)? = null, cellMouseOver: ((e: Any, cell: CellComponent) -> Unit)? = null, cellMouseOut: ((e: Any, cell: CellComponent) -> Unit)? = null, cellMouseMove: ((e: Any, cell: CellComponent) -> Unit)? = null, cellEditing: ((cell: CellComponent) -> Unit)? = null, cellEdited: ((cell: CellComponent) -> Unit)? = null, cellEditCancelled: ((cell: CellComponent) -> Unit)? = null, columnMoved: ((column: ColumnComponent, columns: Array<dynamic>) -> Unit)? = null, columnResized: ((column: ColumnComponent) -> Unit)? = null, columnVisibilityChanged: ((column: ColumnComponent, visible: Boolean) -> Unit)? = null, columnTitleChanged: ((column: 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<Sorter>) -> Unit)? = null, dataSorted: ((sorters: Array<Sorter>, rows: Array<RowComponent>) -> Unit)? = null, dataFiltering: ((filters: Array<Filter>) -> Unit)? = null, dataFiltered: ((filters: Array<Filter>, rows: Array<RowComponent>) -> Unit)? = null, validationFailed: ((cell: 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, persistence: dynamic = null, persistenceReaderFunc: dynamic = null, persistenceWriterFunc: dynamic = null, paginationInitialPage: Int? = null, columnHeaderVertAlign: VAlign? = null, maxHeight: String? = null, minHeight: String? = null, rowContextMenu: dynamic = null, dataTreeChildColumnCalcs: Boolean? = null, dataTreeSelectPropagate: Boolean? = null, cellHozAlign: Align? = null, cellVertAlign: VAlign? = null, headerFilterLiveFilterDelay: Int? = null)

Properties

(js)

addRowPos

val addRowPos: RowPos?
(js)

ajaxConfig

val ajaxConfig: dynamic
(js)

ajaxContentType

val ajaxContentType: dynamic
(js)

ajaxError

var ajaxError: ((dynamic, textStatus: String, dynamic) -> Unit)?
(js)

ajaxFiltering

val ajaxFiltering: Boolean?
(js)

ajaxLoader

val ajaxLoader: Boolean?
(js)

ajaxLoaderError

val ajaxLoaderError: String?
(js)

ajaxLoaderLoading

val ajaxLoaderLoading: String?
(js)

ajaxParams

val ajaxParams: dynamic
(js)

ajaxProgressiveLoad

val ajaxProgressiveLoad: ProgressiveMode?
(js)

ajaxProgressiveLoadDelay

val ajaxProgressiveLoadDelay: Int?
(js)

ajaxProgressiveLoadScrollMargin

val ajaxProgressiveLoadScrollMargin: Int?
(js)

ajaxRequestFunc

var ajaxRequestFunc: ((url: String, dynamic, dynamic) -> Promise<Any>)?
(js)

ajaxRequesting

var ajaxRequesting: ((url: String, dynamic) -> Boolean)?
(js)

ajaxResponse

var ajaxResponse: ((url: String, dynamic, dynamic) -> Any)?
(js)

ajaxSorting

val ajaxSorting: Boolean?
(js)

ajaxURL

var ajaxURL: String?
(js)

ajaxURLGenerator

val ajaxURLGenerator: ((url: String, dynamic, dynamic) -> String)?
(js)

autoColumns

val autoColumns: Boolean?
(js)

autoResize

val autoResize: Boolean?
(js)

cellClick

var cellClick: ((e: Any, cell: CellComponent) -> Unit)?
(js)

cellContext

var cellContext: ((e: Any, cell: CellComponent) -> Unit)?
(js)

cellDblClick

var cellDblClick: ((e: Any, cell: CellComponent) -> Unit)?
(js)

cellDblTap

var cellDblTap: ((e: Any, cell: CellComponent) -> Unit)?
(js)

cellEditCancelled

var cellEditCancelled: ((cell: CellComponent) -> Unit)?
(js)

cellEdited

var cellEdited: ((cell: CellComponent) -> Unit)?
(js)

cellEditing

var cellEditing: ((cell: CellComponent) -> Unit)?
(js)

cellHozAlign

val cellHozAlign: Align?
(js)

cellMouseEnter

var cellMouseEnter: ((e: Any, cell: CellComponent) -> Unit)?
(js)

cellMouseLeave

var cellMouseLeave: ((e: Any, cell: CellComponent) -> Unit)?
(js)

cellMouseMove

var cellMouseMove: ((e: Any, cell: CellComponent) -> Unit)?
(js)

cellMouseOut

var cellMouseOut: ((e: Any, cell: CellComponent) -> Unit)?
(js)

cellMouseOver

var cellMouseOver: ((e: Any, cell: CellComponent) -> Unit)?
(js)

cellTap

var cellTap: ((e: Any, cell: CellComponent) -> Unit)?
(js)

cellTapHold

var cellTapHold: ((e: Any, cell: CellComponent) -> Unit)?
(js)

cellVertAlign

val cellVertAlign: VAlign?
(js)

columnHeaderVertAlign

val columnHeaderVertAlign: VAlign?
(js)

columnMinWidth

val columnMinWidth: Int?
(js)

columnMoved

var columnMoved: ((column: ColumnComponent, columns: Array<dynamic>) -> Unit)?
(js)

columnResized

var columnResized: ((column: ColumnComponent) -> Unit)?
(js)

columns

val columns: List<ColumnDefinition<T>>?
(js)

columnTitleChanged

var columnTitleChanged: ((column: ColumnComponent) -> Unit)?
(js)

columnVisibilityChanged

var columnVisibilityChanged: ((column: ColumnComponent, visible: Boolean) -> Unit)?
(js)

data

var data: Array<T>?
(js)

dataEdited

var dataEdited: ((data: List<T>) -> Unit)?
(js)

dataFiltered

var dataFiltered: ((filters: Array<Filter>, rows: Array<RowComponent>) -> Unit)?
(js)

dataFiltering

var dataFiltering: ((filters: Array<Filter>) -> Unit)?
(js)

dataLoaded

var dataLoaded: ((data: List<T>) -> Unit)?
(js)

dataLoading

var dataLoading: ((data: List<T>) -> Unit)?
(js)

dataSorted

var dataSorted: ((sorters: Array<Sorter>, rows: Array<RowComponent>) -> Unit)?
(js)

dataSorting

var dataSorting: ((sorters: Array<Sorter>) -> Unit)?
(js)

dataTree

val dataTree: Boolean?
(js)

dataTreeBranchElement

val dataTreeBranchElement: dynamic
(js)

dataTreeChildColumnCalcs

val dataTreeChildColumnCalcs: Boolean?
(js)

dataTreeChildField

val dataTreeChildField: String?
(js)

dataTreeChildIndent

val dataTreeChildIndent: Number?
(js)

dataTreeCollapseElement

val dataTreeCollapseElement: dynamic
(js)

dataTreeElementColumn

val dataTreeElementColumn: String?
(js)

dataTreeExpandElement

val dataTreeExpandElement: dynamic
(js)

dataTreeRowCollapsed

val dataTreeRowCollapsed: ((row: RowComponent, level: Number) -> Unit)?
(js)

dataTreeRowExpanded

val dataTreeRowExpanded: ((row: RowComponent, level: Number) -> Unit)?
(js)

dataTreeSelectPropagate

val dataTreeSelectPropagate: Boolean?
(js)

dataTreeStartExpanded

val dataTreeStartExpanded: ((row: RowComponent, level: Number) -> Boolean)?
(js)

downloadConfig

val downloadConfig: DownloadConfig?
(js)

downloadDataFormatter

val downloadDataFormatter: dynamic
(js)

footerElement

val footerElement: String?
(js)

headerFilterLiveFilterDelay

val headerFilterLiveFilterDelay: Int?
(js)

headerFilterPlaceholder

val headerFilterPlaceholder: String?
(js)

headerSort

val headerSort: Boolean?
(js)

headerSortTristate

val headerSortTristate: Boolean?
(js)

headerVisible

val headerVisible: Boolean?
(js)

height

val height: String?
(js)

history

val history: Boolean?
(js)

htmlImported

var htmlImported: (() -> Unit)?
(js)

htmlImporting

var htmlImporting: (() -> Unit)?
(js)

htmlOutputConfig

val htmlOutputConfig: dynamic
(js)

index

val index: String?
(js)

initialFilter

val initialFilter: List<Filter>?
(js)

initialHeaderFilter

val initialHeaderFilter: List<Any?>?
(js)

initialSort

val initialSort: List<Sorter>?
(js)

invalidOptionWarnings

val invalidOptionWarnings: Boolean?
(js)

keybindings

val keybindings: dynamic
(js)

langs

var langs: dynamic
(js)

layout

val layout: Layout?
(js)

layoutColumnsOnNewData

val layoutColumnsOnNewData: Boolean?
(js)

locale

val locale: String?
(js)

localized

val localized: ((locale: String, dynamic) -> Unit)?
(js)

maxHeight

val maxHeight: String?
(js)

minHeight

val minHeight: String?
(js)

movableColumns

val movableColumns: Boolean?
(js)

movableRows

val movableRows: Boolean?
(js)

movableRowsConnectedTables

val movableRowsConnectedTables: dynamic
(js)

movableRowsReceived

val movableRowsReceived: ((fromRow: RowComponent, toRow: RowComponent, fromTable: Tabulator) -> Unit)?
(js)

movableRowsReceivedFailed

val movableRowsReceivedFailed: ((fromRow: RowComponent, toRow: RowComponent, fromTable: Tabulator) -> Unit)?
(js)

movableRowsReceiver

val movableRowsReceiver: dynamic
(js)

movableRowsReceivingStart

val movableRowsReceivingStart: ((fromRow: RowComponent, toTable: Tabulator) -> Unit)?
(js)

movableRowsReceivingStop

val movableRowsReceivingStop: ((fromTable: Tabulator) -> Unit)?
(js)

movableRowsSender

val movableRowsSender: dynamic
(js)

movableRowsSendingStart

val movableRowsSendingStart: ((toTables: Array<Any>) -> Unit)?
(js)

movableRowsSendingStop

val movableRowsSendingStop: ((toTables: Array<Any>) -> Unit)?
(js)

movableRowsSent

val movableRowsSent: ((fromRow: RowComponent, toRow: RowComponent, toTable: Tabulator) -> Unit)?
(js)

movableRowsSentFailed

val movableRowsSentFailed: ((fromRow: RowComponent, toRow: RowComponent, toTable: Tabulator) -> Unit)?
(js)

pageLoaded

var pageLoaded: ((pageno: Int) -> Unit)?
(js)

pagination

val pagination: PaginationMode?
(js)

paginationAddRow

val paginationAddRow: AddRowMode?
(js)

paginationButtonCount

val paginationButtonCount: Int?
(js)

paginationDataReceived

val paginationDataReceived: dynamic
(js)

paginationDataSent

val paginationDataSent: dynamic
(js)

paginationElement

val paginationElement: dynamic
(js)

paginationInitialPage

val paginationInitialPage: Int?
(js)

paginationSize

val paginationSize: Int?
(js)

paginationSizeSelector

val paginationSizeSelector: Boolean?
(js)

persistence

val persistence: dynamic
(js)

persistenceID

val persistenceID: String?
(js)

persistenceMode

val persistenceMode: Boolean?
(js)

persistenceReaderFunc

val persistenceReaderFunc: dynamic
(js)

persistenceWriterFunc

val persistenceWriterFunc: dynamic
(js)

persistentFilter

val persistentFilter: Boolean?
(js)

persistentLayout

val persistentLayout: Boolean?
(js)

persistentSort

val persistentSort: Boolean?
(js)

placeholder

val placeholder: String?
(js)

printAsHtml

val printAsHtml: Boolean?
(js)

printConfig

val printConfig: dynamic
(js)

printCopyStyle

val printCopyStyle: Boolean?
(js)

printFooter

val printFooter: String?
(js)

printFormatter

val printFormatter: ((dynamic, dynamic) -> Unit)?
(js)

printHeader

val printHeader: String?
(js)

printVisibleRows

val printVisibleRows: Boolean?
(js)

reactiveData

val reactiveData: Boolean?
(js)

renderComplete

var renderComplete: (() -> Unit)?
(js)

renderStarted

var renderStarted: (() -> Unit)?
(js)

resizableColumns

val resizableColumns: Boolean?
(js)

resizableRows

val resizableRows: Boolean?
(js)

responsiveLayout

val responsiveLayout: ResponsiveLayout?
(js)

responsiveLayoutCollapseStartOpen

val responsiveLayoutCollapseStartOpen: Boolean?
(js)

responsiveLayoutCollapseUseFormatters

val responsiveLayoutCollapseUseFormatters: Boolean?
(js)

rowAdded

var rowAdded: ((row: RowComponent) -> Unit)?
(js)

rowClick

var rowClick: ((dynamic, row: RowComponent) -> Unit)?
(js)

rowContext

var rowContext: ((dynamic, row: RowComponent) -> Unit)?
(js)

rowContextMenu

val rowContextMenu: dynamic
(js)

rowDblClick

var rowDblClick: ((dynamic, row: RowComponent) -> Unit)?
(js)

rowDblTap

var rowDblTap: ((dynamic, row: RowComponent) -> Unit)?
(js)

rowDeleted

var rowDeleted: ((row: RowComponent) -> Unit)?
(js)

rowDeselected

var rowDeselected: ((row: RowComponent) -> Unit)?
(js)

rowFormatter

val rowFormatter: ((row: RowComponent) -> Unit)?
(js)

rowMouseEnter

var rowMouseEnter: ((dynamic, row: RowComponent) -> Unit)?
(js)

rowMouseLeave

var rowMouseLeave: ((dynamic, row: RowComponent) -> Unit)?
(js)

rowMouseMove

var rowMouseMove: ((dynamic, row: RowComponent) -> Unit)?
(js)

rowMouseOut

var rowMouseOut: ((dynamic, row: RowComponent) -> Unit)?
(js)

rowMouseOver

var rowMouseOver: ((dynamic, row: RowComponent) -> Unit)?
(js)

rowMoved

var rowMoved: ((row: RowComponent) -> Unit)?
(js)

rowResized

var rowResized: ((row: RowComponent) -> Unit)?
(js)

rowSelected

var rowSelected: ((row: RowComponent) -> Unit)?
(js)

rowSelectionChanged

var rowSelectionChanged: ((data: Array<Any>, rows: Array<RowComponent>) -> Unit)?
(js)

rowTap

var rowTap: ((dynamic, row: RowComponent) -> Unit)?
(js)

rowTapHold

var rowTapHold: ((dynamic, row: RowComponent) -> Unit)?
(js)

rowUpdated

var rowUpdated: ((row: RowComponent) -> Unit)?
(js)

scrollToColumnIfVisible

val scrollToColumnIfVisible: Boolean?
(js)

scrollToColumnPosition

val scrollToColumnPosition: ColumnPosition?
(js)

scrollToRowIfVisible

val scrollToRowIfVisible: Boolean?
(js)

scrollToRowPosition

val scrollToRowPosition: RowPosition?
(js)

selectable

val selectable: dynamic
(js)

selectableCheck

val selectableCheck: ((row: RowComponent) -> Boolean)?
(js)

selectablePersistence

val selectablePersistence: Boolean?
(js)

selectableRangeMode

val selectableRangeMode: RangeMode?
(js)

selectableRollingSelection

val selectableRollingSelection: Boolean?
(js)

sortOrderReverse

val sortOrderReverse: Boolean?
(js)

tabEndNewRow

val tabEndNewRow: dynamic
(js)

tableBuilding

var tableBuilding: (() -> Unit)?
(js)

tableBuilt

var tableBuilt: (() -> Unit)?
(js)

tooltipGenerationMode

val tooltipGenerationMode: TooltipGenerationMode?
(js)

tooltips

val tooltips: ((cell: CellComponent) -> String)?
(js)

tooltipsHeader

val tooltipsHeader: Boolean?
(js)

validationFailed

var validationFailed: ((cell: CellComponent, value: Any, dynamic) -> Unit)?
(js)

virtualDom

val virtualDom: Boolean?
(js)

virtualDomBuffer

val virtualDomBuffer: Int?

Extension Functions

(js)

toJs

An extension function to convert tabulator options class to JS object.

fun <T : Any> TabulatorOptions<T>.toJs(i18nTranslator: (String) -> String): Options