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,     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

className

CSS class names

init

an initializer extension function

Constructors

Link copied to clipboard
fun 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)

Functions

Link copied to clipboard
open fun add(child: <ERROR CLASS>): Table
open fun add(position: Int, child: <ERROR CLASS>): Table
Link copied to clipboard
open fun addAll(children: List<<ERROR CLASS>>): Table
Link copied to clipboard
fun addHeaderCell(cell: HeaderCell): Table

Adds new header cell to the table.

Link copied to clipboard
open fun buildClassSet(classSetBuilder: <ERROR CLASS>)
Link copied to clipboard
open fun childrenVNodes(): Array<<ERROR CLASS>>
Link copied to clipboard
open fun dispose()
Link copied to clipboard
open fun disposeAll(): <ERROR CLASS>
Link copied to clipboard
open fun getChildren(): List<<ERROR CLASS>>
Link copied to clipboard
open fun remove(child: <ERROR CLASS>): Table
Link copied to clipboard
open fun removeAll(): Table
Link copied to clipboard
open fun removeAt(position: Int): Table
Link copied to clipboard
fun removeHeaderCell(cell: HeaderCell): Table

Removes given header cell from the table.

Link copied to clipboard
fun removeHeaderCells(): Table

Removes all header cells from table.

Link copied to clipboard
open fun render(): <ERROR CLASS>

Properties

Link copied to clipboard
var caption: <ERROR CLASS>

Table caption.

Link copied to clipboard
var headerNames: <ERROR CLASS>

Table headers names.

Link copied to clipboard
var responsiveType: <ERROR CLASS>

Determines if the table is responsive.

Link copied to clipboard
var tableColor: <ERROR CLASS>

Table color variant.

Link copied to clipboard
val theadColor: TableColor? = null
Link copied to clipboard
var types: <ERROR CLASS>

Table types.

Extensions

Link copied to clipboard
fun Table.headerCell(    content: String? = null,     rich: Boolean = false,     align: <ERROR CLASS>? = null,     scope: Scope? = null,     className: String? = null,     init: HeaderCell.() -> Unit? = null): HeaderCell

DSL builder extension function.

Link copied to clipboard
fun Table.row(className: String? = null, init: Row.() -> Unit? = null): Row

DSL builder extension function.