Table

open class Table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, tableColor: TableColor? = null, val theadColor: TableColor? = null, tbodyDivider: Boolean = false, className: String? = null, init: Table.() -> Unit? = null)

HTML table component.

Parameters

headerNames

a list of table headers names

types

a set of table types

caption

table caption

responsiveType

determines if the table is responsive

tableColor

table color variant

theadColor

table header color variant

tbodyDivider

add table body group divider

className

CSS class names

init

an initializer extension function

Constructors

Link copied to clipboard
constructor(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, tableColor: TableColor? = null, theadColor: TableColor? = null, tbodyDivider: Boolean = false, className: String? = null, init: Table.() -> Unit? = null)

Properties

Link copied to clipboard
var caption: <Error class: unknown class>

Table caption.

Link copied to clipboard
var headerNames: <Error class: unknown class>

Table headers names.

Link copied to clipboard
var responsiveType: <Error class: unknown class>

Determines if the table is responsive.

Link copied to clipboard
var tableColor: <Error class: unknown class>

Table color variant.

Link copied to clipboard
var tbodyDivider: <Error class: unknown class>

Table body group divider.

Link copied to clipboard
val theadColor: TableColor? = null
Link copied to clipboard
var types: <Error class: unknown class>

Table types.

Functions

Link copied to clipboard
open fun add(child: <Error class: unknown class>)
open fun add(position: Int, child: <Error class: unknown class>)
Link copied to clipboard
open fun addAll(children: List<<Error class: unknown class>>)
Link copied to clipboard

Adds new header cell to the table.

Link copied to clipboard
open fun buildClassSet(classSetBuilder: <Error class: unknown class>)
Link copied to clipboard
open fun childrenVNodes(): Array<<Error class: unknown class>>
Link copied to clipboard
open fun dispose()
Link copied to clipboard
open fun disposeAll()
Link copied to clipboard
open fun getChildren(): List<<Error class: unknown class>>
Link copied to clipboard
fun Table.headerCell(content: String? = null, rich: Boolean = false, align: <Error class: unknown class>? = null, scope: Scope? = null, className: String? = null, init: HeaderCell.() -> Unit? = null): HeaderCell

DSL builder extension function.

Link copied to clipboard
open fun remove(child: <Error class: unknown class>)
Link copied to clipboard
open fun removeAll()
Link copied to clipboard
open fun removeAt(position: Int)
Link copied to clipboard

Removes given header cell from the table.

Link copied to clipboard

Removes all header cells from table.

Link copied to clipboard
open fun render(): <Error class: unknown class>
Link copied to clipboard
fun Table.row(className: String? = null, init: Row.() -> Unit? = null): Row

DSL builder extension function.