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
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
tbody Divider
add table body group divider
class Name
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
Functions
Link copied to clipboard
Adds new header cell to the table.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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
Removes given header cell from the table.
Link copied to clipboard
Removes all header cells from table.