kvision / pl.treksoft.kvision.table

Package pl.treksoft.kvision.table

Clasess supporting HTML tables.

Types

(js)

Cell

HTML table cell component.

open class Cell : Tag
(js)

HeaderCell

HTML table header cell component.

open class HeaderCell : Tag
(js)

ResponsiveType

HTML table responsive types.

enum class ResponsiveType
(js)

Row

HTML table row component.

open class Row : Tag
(js)

Scope

enum class Scope
(js)

Table

HTML table component.

open class Table : SimplePanel
(js)

TableType

HTML table types.

enum class TableType
(js)

TheadType

HTML table header types.

enum class TheadType

Functions

(js)

cell

DSL builder extension function.

fun Row.cell(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Cell.() -> Unit)? = null): Cell
(js)

headerCell

DSL builder extension function.

fun Row.headerCell(content: String? = null, rich: Boolean = false, align: Align? = null, scope: Scope? = null, classes: Set<String>? = null, className: String? = null, init: (HeaderCell.() -> Unit)? = null): HeaderCell
(js)

row

DSL builder extension function.

fun Table.row(classes: Set<String>? = null, className: String? = null, init: (Row.() -> Unit)? = null): Row
(js)

table

DSL builder extension function.

fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String>? = null, className: String? = null, init: (Table.() -> Unit)? = null): Table
(js)

thcell

DSL builder extension function.

fun Row.thcell(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (HeaderCell.() -> Unit)? = null): HeaderCell