kvision / pl.treksoft.kvision.tabulator

Package pl.treksoft.kvision.tabulator

Full-featured grid/table component based on the Tabulator library.

Types

AddRowMode

enum class AddRowMode

Add row modes.

Align

enum class Align

Column align.

Calc

enum class Calc

Built-in calc functions.

ColumnDefinition

data class ColumnDefinition<T : Any>

Column definition options.

ColumnPosition

enum class ColumnPosition

Column positions.

DownloadConfig

data class DownloadConfig

Download config options.

Editor

enum class Editor

Built-in editors.

Filter

enum class Filter

Filters.

Formatter

enum class Formatter

Built-in formatters.

Layout

enum class Layout

Table layouts.

PaginationMode

enum class PaginationMode

Pagination modes.

ProgressiveMode

enum class ProgressiveMode

Progressive modes.

RangeMode

enum class RangeMode

Range select modes.

ResponsiveLayout

enum class ResponsiveLayout

Responsive layout modes.

RowPos

enum class RowPos

Row positions.

RowPosition

enum class RowPosition

Row scroll positions .

Sorter

enum class Sorter

Built-in sorters.

SortingDir

enum class SortingDir

Sorting directions.

Tabulator

open class Tabulator<T : Any> : Widget

Tabulator component.

TabulatorOptions

data class TabulatorOptions<T : Any>

Tabulator options.

TabulatorRemote

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

Tabulator component connected to the multiplatform service.

TooltipGenerationMode

enum class TooltipGenerationMode

Tooltip generation mode.

Validator

enum class Validator

Built-in validators.

Functions

toJs

fun DownloadConfig.toJs(): Tabulator.DownloadConfig

An extension function to convert download config class to JS object.

fun <T : Any> ColumnDefinition<T>.toJs(i18nTranslator: (String) -> String): Tabulator.ColumnDefinition

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

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

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