ColumnDefinition

data class ColumnDefinition<T : Any>(title: String, field: String?, columns: List<ColumnDefinition<T>>?, visible: Boolean?, align: Align?, width: String?, minWidth: Int?, widthGrow: Int?, widthShrink: Int?, resizable: Boolean?, frozen: Boolean?, responsive: Int?, tooltip: (cell: Tabulator.CellComponent) -> String?, cssClass: String?, rowHandle: Boolean?, hideInHtml: Boolean?, sorter: Sorter?, sorterFunction: (dynamic, dynamic, aRow: Tabulator.RowComponent, bRow: Tabulator.RowComponent, column: Tabulator.ColumnComponent, dir: SortingDir, dynamic) -> Number?, sorterParams: dynamic, formatter: Formatter?, formatterFunction: (cell: Tabulator.CellComponent, dynamic, onRendered: (callback: () -> Unit) -> Unit) -> dynamic?, formatterComponentFunction: (cell: Tabulator.CellComponent, onRendered: (callback: () -> Unit) -> Unit, T) -> <ERROR CLASS>?, formatterParams: dynamic, variableHeight: Boolean?, editable: (cell: Tabulator.CellComponent) -> Boolean?, editor: Editor?, editorFunction: (cell: Tabulator.CellComponent, onRendered: (callback: () -> Unit) -> Unit, success: (dynamic) -> Unit, cancel: (dynamic) -> Unit, dynamic) -> dynamic?, editorComponentFunction: (cell: Tabulator.CellComponent, onRendered: (callback: () -> Unit) -> Unit, success: (dynamic) -> Unit, cancel: (dynamic) -> Unit, T) -> <ERROR CLASS>?, editorParams: dynamic, validator: Validator?, validatorFunction: dynamic, validatorParams: String?, download: Boolean?, downloadTitle: String?, topCalc: Calc?, topCalcParams: dynamic, topCalcFormatter: Formatter?, topCalcFormatterParams: dynamic, bottomCalc: Calc?, bottomCalcParams: dynamic, bottomCalcFormatter: Formatter?, bottomCalcFormatterParams: dynamic, headerSort: Boolean?, headerSortStartingDir: SortingDir?, headerSortTristate: Boolean?, headerClick: (dynamic, column: Tabulator.ColumnComponent) -> Unit?, headerDblClick: (dynamic, column: Tabulator.ColumnComponent) -> Unit?, headerContext: (dynamic, column: Tabulator.ColumnComponent) -> Unit?, headerTap: (dynamic, column: Tabulator.ColumnComponent) -> Unit?, headerDblTap: (dynamic, column: Tabulator.ColumnComponent) -> Unit?, headerTapHold: (dynamic, column: Tabulator.ColumnComponent) -> Unit?, headerTooltip: (column: Tabulator.ColumnComponent) -> String?, headerVertical: Boolean?, editableTitle: Boolean?, titleFormatter: Formatter?, titleFormatterParams: dynamic, headerFilter: Editor?, headerFilterParams: dynamic, headerFilterPlaceholder: String?, headerFilterEmptyCheck: (value: Any) -> Boolean?, headerFilterFunc: Filter?, headerFilterFuncCustom: (dynamic, dynamic, dynamic, dynamic) -> Boolean?, headerFilterFuncParams: dynamic, headerFilterLiveFilter: Boolean?, htmlOutput: Boolean?, print: Boolean?, cellClick: (dynamic, cell: Tabulator.CellComponent) -> Unit?, cellDblClick: (dynamic, cell: Tabulator.CellComponent) -> Unit?, cellContext: (dynamic, cell: Tabulator.CellComponent) -> Unit?, cellTap: (dynamic, cell: Tabulator.CellComponent) -> Unit?, cellDblTap: (dynamic, cell: Tabulator.CellComponent) -> Unit?, cellTapHold: (dynamic, cell: Tabulator.CellComponent) -> Unit?, cellMouseEnter: (dynamic, cell: Tabulator.CellComponent) -> Unit?, cellMouseLeave: (dynamic, cell: Tabulator.CellComponent) -> Unit?, cellMouseOver: (dynamic, cell: Tabulator.CellComponent) -> Unit?, cellMouseOut: (dynamic, cell: Tabulator.CellComponent) -> Unit?, cellMouseMove: (dynamic, cell: Tabulator.CellComponent) -> Unit?, cellEditing: (cell: Tabulator.CellComponent) -> Unit?, cellEdited: (cell: Tabulator.CellComponent) -> Unit?, cellEditCancelled: (cell: Tabulator.CellComponent) -> Unit?, headerMenu: dynamic, headerContextMenu: dynamic, contextMenu: dynamic, hozAlign: Align?, vertAlign: VAlign?, clickMenu: dynamic, headerHozAlign: Align?, accessor: dynamic, accessorParams: dynamic, maxWidth: Int?, mutatorData: (dynamic, dynamic, type: String, dynamic, cell: Tabulator.CellComponent) -> Any?, mutatorDataParams: dynamic, mutatorEdit: (dynamic, dynamic, type: String, dynamic, cell: Tabulator.CellComponent) -> Any?, mutatorEditParams: dynamic, mutatorClipboard: (dynamic, dynamic, type: String, dynamic, cell: Tabulator.CellComponent) -> Any?, mutatorClipboardParams: dynamic, mutator: (dynamic, dynamic, type: String, dynamic, cell: Tabulator.CellComponent) -> Any?, mutatorParams: dynamic)

Column definition options.

Constructors

Link copied to clipboard
fun <T : Any> ColumnDefinition(title: String, field: String? = null, columns: List<ColumnDefinition<T>>? = null, visible: Boolean? = null, align: Align? = null, width: String? = null, minWidth: Int? = null, widthGrow: Int? = null, widthShrink: Int? = null, resizable: Boolean? = null, frozen: Boolean? = null, responsive: Int? = null, tooltip: (cell: Tabulator.CellComponent) -> String? = null, cssClass: String? = null, rowHandle: Boolean? = null, hideInHtml: Boolean? = null, sorter: Sorter? = null, sorterFunction: (dynamic, dynamic, aRow: Tabulator.RowComponent, bRow: Tabulator.RowComponent, column: Tabulator.ColumnComponent, dir: SortingDir, dynamic) -> Number? = null, sorterParams: dynamic = null, formatter: Formatter? = null, formatterFunction: (cell: Tabulator.CellComponent, dynamic, onRendered: (callback: () -> Unit) -> Unit) -> dynamic? = null, formatterComponentFunction: (cell: Tabulator.CellComponent, onRendered: (callback: () -> Unit) -> Unit, T) -> <ERROR CLASS>? = null, formatterParams: dynamic = null, variableHeight: Boolean? = null, editable: (cell: Tabulator.CellComponent) -> Boolean? = null, editor: Editor? = null, editorFunction: (cell: Tabulator.CellComponent, onRendered: (callback: () -> Unit) -> Unit, success: (dynamic) -> Unit, cancel: (dynamic) -> Unit, dynamic) -> dynamic? = null, editorComponentFunction: (cell: Tabulator.CellComponent, onRendered: (callback: () -> Unit) -> Unit, success: (dynamic) -> Unit, cancel: (dynamic) -> Unit, T) -> <ERROR CLASS>? = null, editorParams: dynamic = null, validator: Validator? = null, validatorFunction: dynamic = null, validatorParams: String? = null, download: Boolean? = null, downloadTitle: String? = null, topCalc: Calc? = null, topCalcParams: dynamic = null, topCalcFormatter: Formatter? = null, topCalcFormatterParams: dynamic = null, bottomCalc: Calc? = null, bottomCalcParams: dynamic = null, bottomCalcFormatter: Formatter? = null, bottomCalcFormatterParams: dynamic = null, headerSort: Boolean? = null, headerSortStartingDir: SortingDir? = null, headerSortTristate: Boolean? = null, headerClick: (dynamic, column: Tabulator.ColumnComponent) -> Unit? = null, headerDblClick: (dynamic, column: Tabulator.ColumnComponent) -> Unit? = null, headerContext: (dynamic, column: Tabulator.ColumnComponent) -> Unit? = null, headerTap: (dynamic, column: Tabulator.ColumnComponent) -> Unit? = null, headerDblTap: (dynamic, column: Tabulator.ColumnComponent) -> Unit? = null, headerTapHold: (dynamic, column: Tabulator.ColumnComponent) -> Unit? = null, headerTooltip: (column: Tabulator.ColumnComponent) -> String? = null, headerVertical: Boolean? = null, editableTitle: Boolean? = null, titleFormatter: Formatter? = null, titleFormatterParams: dynamic = null, headerFilter: Editor? = null, headerFilterParams: dynamic = null, headerFilterPlaceholder: String? = null, headerFilterEmptyCheck: (value: Any) -> Boolean? = null, headerFilterFunc: Filter? = null, headerFilterFuncCustom: (dynamic, dynamic, dynamic, dynamic) -> Boolean? = null, headerFilterFuncParams: dynamic = null, headerFilterLiveFilter: Boolean? = null, htmlOutput: Boolean? = null, print: Boolean? = null, cellClick: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null, cellDblClick: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null, cellContext: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null, cellTap: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null, cellDblTap: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null, cellTapHold: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null, cellMouseEnter: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null, cellMouseLeave: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null, cellMouseOver: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null, cellMouseOut: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null, cellMouseMove: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null, cellEditing: (cell: Tabulator.CellComponent) -> Unit? = null, cellEdited: (cell: Tabulator.CellComponent) -> Unit? = null, cellEditCancelled: (cell: Tabulator.CellComponent) -> Unit? = null, headerMenu: dynamic = null, headerContextMenu: dynamic = null, contextMenu: dynamic = null, hozAlign: Align? = null, vertAlign: VAlign? = null, clickMenu: dynamic = null, headerHozAlign: Align? = null, accessor: dynamic = null, accessorParams: dynamic = null, maxWidth: Int? = null, mutatorData: (dynamic, dynamic, type: String, dynamic, cell: Tabulator.CellComponent) -> Any? = null, mutatorDataParams: dynamic = null, mutatorEdit: (dynamic, dynamic, type: String, dynamic, cell: Tabulator.CellComponent) -> Any? = null, mutatorEditParams: dynamic = null, mutatorClipboard: (dynamic, dynamic, type: String, dynamic, cell: Tabulator.CellComponent) -> Any? = null, mutatorClipboardParams: dynamic = null, mutator: (dynamic, dynamic, type: String, dynamic, cell: Tabulator.CellComponent) -> Any? = null, mutatorParams: dynamic = null)

Properties

Link copied to clipboard
val accessor: dynamic = null
Link copied to clipboard
val accessorParams: dynamic = null
Link copied to clipboard
val align: Align? = null
Link copied to clipboard
val bottomCalc: Calc? = null
Link copied to clipboard
val bottomCalcFormatter: Formatter? = null
Link copied to clipboard
val bottomCalcFormatterParams: dynamic = null
Link copied to clipboard
val bottomCalcParams: dynamic = null
Link copied to clipboard
val cellClick: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null
Link copied to clipboard
val cellContext: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null
Link copied to clipboard
val cellDblClick: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null
Link copied to clipboard
val cellDblTap: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null
Link copied to clipboard
val cellEditCancelled: (cell: Tabulator.CellComponent) -> Unit? = null
Link copied to clipboard
val cellEdited: (cell: Tabulator.CellComponent) -> Unit? = null
Link copied to clipboard
val cellEditing: (cell: Tabulator.CellComponent) -> Unit? = null
Link copied to clipboard
val cellMouseEnter: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null
Link copied to clipboard
val cellMouseLeave: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null
Link copied to clipboard
val cellMouseMove: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null
Link copied to clipboard
val cellMouseOut: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null
Link copied to clipboard
val cellMouseOver: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null
Link copied to clipboard
val cellTap: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null
Link copied to clipboard
val cellTapHold: (dynamic, cell: Tabulator.CellComponent) -> Unit? = null
Link copied to clipboard
val clickMenu: dynamic = null
Link copied to clipboard
val columns: List<ColumnDefinition<T>>? = null
Link copied to clipboard
val contextMenu: dynamic = null
Link copied to clipboard
val cssClass: String? = null
Link copied to clipboard
val download: Boolean? = null
Link copied to clipboard
val downloadTitle: String? = null
Link copied to clipboard
val editable: (cell: Tabulator.CellComponent) -> Boolean? = null
Link copied to clipboard
val editableTitle: Boolean? = null
Link copied to clipboard
val editor: Editor? = null
Link copied to clipboard
val editorComponentFunction: (cell: Tabulator.CellComponent, onRendered: (callback: () -> Unit) -> Unit, success: (dynamic) -> Unit, cancel: (dynamic) -> Unit, T) -> <ERROR CLASS>? = null
Link copied to clipboard
val editorFunction: (cell: Tabulator.CellComponent, onRendered: (callback: () -> Unit) -> Unit, success: (dynamic) -> Unit, cancel: (dynamic) -> Unit, dynamic) -> dynamic? = null
Link copied to clipboard
val editorParams: dynamic = null
Link copied to clipboard
val field: String? = null
Link copied to clipboard
val formatter: Formatter? = null
Link copied to clipboard
val formatterComponentFunction: (cell: Tabulator.CellComponent, onRendered: (callback: () -> Unit) -> Unit, T) -> <ERROR CLASS>? = null
Link copied to clipboard
val formatterFunction: (cell: Tabulator.CellComponent, dynamic, onRendered: (callback: () -> Unit) -> Unit) -> dynamic? = null
Link copied to clipboard
val formatterParams: dynamic = null
Link copied to clipboard
val frozen: Boolean? = null
Link copied to clipboard
val headerClick: (dynamic, column: Tabulator.ColumnComponent) -> Unit? = null
Link copied to clipboard
val headerContext: (dynamic, column: Tabulator.ColumnComponent) -> Unit? = null
Link copied to clipboard
val headerContextMenu: dynamic = null
Link copied to clipboard
val headerDblClick: (dynamic, column: Tabulator.ColumnComponent) -> Unit? = null
Link copied to clipboard
val headerDblTap: (dynamic, column: Tabulator.ColumnComponent) -> Unit? = null
Link copied to clipboard
val headerFilter: Editor? = null
Link copied to clipboard
val headerFilterEmptyCheck: (value: Any) -> Boolean? = null
Link copied to clipboard
val headerFilterFunc: Filter? = null
Link copied to clipboard
val headerFilterFuncCustom: (dynamic, dynamic, dynamic, dynamic) -> Boolean? = null
Link copied to clipboard
val headerFilterFuncParams: dynamic = null
Link copied to clipboard
val headerFilterLiveFilter: Boolean? = null
Link copied to clipboard
val headerFilterParams: dynamic = null
Link copied to clipboard
val headerFilterPlaceholder: String? = null
Link copied to clipboard
val headerHozAlign: Align? = null
Link copied to clipboard
val headerMenu: dynamic = null
Link copied to clipboard
val headerSort: Boolean? = null
Link copied to clipboard
val headerSortStartingDir: SortingDir? = null
Link copied to clipboard
val headerSortTristate: Boolean? = null
Link copied to clipboard
val headerTap: (dynamic, column: Tabulator.ColumnComponent) -> Unit? = null
Link copied to clipboard
val headerTapHold: (dynamic, column: Tabulator.ColumnComponent) -> Unit? = null
Link copied to clipboard
val headerTooltip: (column: Tabulator.ColumnComponent) -> String? = null
Link copied to clipboard
val headerVertical: Boolean? = null
Link copied to clipboard
val hideInHtml: Boolean? = null
Link copied to clipboard
val hozAlign: Align? = null
Link copied to clipboard
val htmlOutput: Boolean? = null
Link copied to clipboard
val maxWidth: Int? = null
Link copied to clipboard
val minWidth: Int? = null
Link copied to clipboard
val mutator: (dynamic, dynamic, type: String, dynamic, cell: Tabulator.CellComponent) -> Any? = null
Link copied to clipboard
val mutatorClipboard: (dynamic, dynamic, type: String, dynamic, cell: Tabulator.CellComponent) -> Any? = null
Link copied to clipboard
val mutatorClipboardParams: dynamic = null
Link copied to clipboard
val mutatorData: (dynamic, dynamic, type: String, dynamic, cell: Tabulator.CellComponent) -> Any? = null
Link copied to clipboard
val mutatorDataParams: dynamic = null
Link copied to clipboard
val mutatorEdit: (dynamic, dynamic, type: String, dynamic, cell: Tabulator.CellComponent) -> Any? = null
Link copied to clipboard
val mutatorEditParams: dynamic = null
Link copied to clipboard
val mutatorParams: dynamic = null
Link copied to clipboard
val print: Boolean? = null
Link copied to clipboard
val resizable: Boolean? = null
Link copied to clipboard
val responsive: Int? = null
Link copied to clipboard
val rowHandle: Boolean? = null
Link copied to clipboard
val sorter: Sorter? = null
Link copied to clipboard
val sorterFunction: (dynamic, dynamic, aRow: Tabulator.RowComponent, bRow: Tabulator.RowComponent, column: Tabulator.ColumnComponent, dir: SortingDir, dynamic) -> Number? = null
Link copied to clipboard
val sorterParams: dynamic = null
Link copied to clipboard
val title: String
Link copied to clipboard
val titleFormatter: Formatter? = null
Link copied to clipboard
val titleFormatterParams: dynamic = null
Link copied to clipboard
val tooltip: (cell: Tabulator.CellComponent) -> String? = null
Link copied to clipboard
val topCalc: Calc? = null
Link copied to clipboard
val topCalcFormatter: Formatter? = null
Link copied to clipboard
val topCalcFormatterParams: dynamic = null
Link copied to clipboard
val topCalcParams: dynamic = null
Link copied to clipboard
val validator: Validator? = null
Link copied to clipboard
val validatorFunction: dynamic = null
Link copied to clipboard
val validatorParams: String? = null
Link copied to clipboard
val variableHeight: Boolean? = null
Link copied to clipboard
val vertAlign: VAlign? = null
Link copied to clipboard
val visible: Boolean? = null
Link copied to clipboard
val width: String? = null
Link copied to clipboard
val widthGrow: Int? = null
Link copied to clipboard
val widthShrink: Int? = null

Extensions

Link copied to clipboard
fun <T : Any> ColumnDefinition<T>.toJs(tabulator: Tabulator<T>, i18nTranslator: (String) -> String, kClass: KClass<T>?): Tabulator.ColumnDefinition

An extension function to convert column definition class to JS object.