Package io.kvision.table

Clasess supporting HTML tables.

Types

Cell
Link copied to clipboard
open class Cell(content: String?, rich: Boolean, align: Align?, className: String?, init: Cell.() -> Unit?) : Tag
HTML table cell component.
HeaderCell
Link copied to clipboard
open class HeaderCell(content: String?, rich: Boolean, align: Align?, scope: Scope?, className: String?, init: HeaderCell.() -> Unit?) : Tag
HTML table header cell component.
ResponsiveType
Link copied to clipboard
enum ResponsiveType : Enum<ResponsiveType>
HTML table responsive types.
Row
Link copied to clipboard
open class Row(className: String?, init: Row.() -> Unit?) : Tag
HTML table row component.
Scope
Link copied to clipboard
enum Scope : Enum<Scope>
Table
Link copied to clipboard
open class Table(headerNames: List<String>?, types: Set<TableType>, caption: String?, responsiveType: ResponsiveType?, tableColor: TableColor?, theadColor: TableColor?, className: String?, init: Table.() -> Unit?) : SimplePanel
HTML table component.
TableColor
Link copied to clipboard
enum TableColor : Enum<TableColor> , CssClass
HTML table color variants.
TableType
Link copied to clipboard
enum TableType : Enum<TableType>
HTML table types.

Functions

cell
Link copied to clipboard
fun Row.cell(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: Cell.() -> Unit? = null): Cell
DSL builder extension function.
headerCell
Link copied to clipboard
fun Row.headerCell(content: String? = null, rich: Boolean = false, align: Align? = null, scope: Scope? = null, className: String? = null, init: HeaderCell.() -> Unit? = null): HeaderCell
DSL builder extension function.
fun Table.headerCell(content: String? = null, rich: Boolean = false, align: Align? = null, scope: Scope? = null, className: String? = null, init: HeaderCell.() -> Unit? = null): HeaderCell
DSL builder extension function.
row
Link copied to clipboard
fun Table.row(className: String? = null, init: Row.() -> Unit? = null): Row
DSL builder extension function.
table
Link copied to clipboard
fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, tableColor: TableColor? = null, theadColor: TableColor? = null, className: String? = null, init: Table.() -> Unit? = null): Table
DSL builder extension function.
thcell
Link copied to clipboard
fun Row.thcell(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: HeaderCell.() -> Unit? = null): HeaderCell
DSL builder extension function.