Table
open class Table(headerNames: List<String>?, types: Set<TableType>, caption: String?, responsiveType: ResponsiveType?, tableColor: TableColor?, theadColor: TableColor?, className: String?, init: Table.() -> Unit?)
Content copied to clipboard
HTML table component.
Parameters
header Names
a list of table headers names
types
a set of table types
caption
table caption
responsive Type
determines if the table is responsive
table Color
table color variant
thead Color
table header color variant
class Name
CSS class names
init
an initializer extension function
Constructors
Table
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)
Content copied to clipboard
Functions
add Header Cell
Link copied to clipboard
Adds new header cell to the table.
build Class Set
Link copied to clipboard
children VNodes
Link copied to clipboard
dispose All
Link copied to clipboard
get Children
Link copied to clipboard
remove Header Cell
Link copied to clipboard
Removes given header cell from the table.
remove Header Cells
Link copied to clipboard
Removes all header cells from table.
Properties
headerNames
Link copied to clipboard
responsiveType
Link copied to clipboard
tableColor
Link copied to clipboard
theadColor
Link copied to clipboard
Extensions
header Cell
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
Content copied to clipboard
DSL builder extension function.