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