From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001
From: Robert Jaros
<init>
-
-Table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null)
+
+Table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null)
Parameters
headerNames - a list of table headers namestypes - a set of table types
-responsive - determines if the table is responsive
+responsiveType - determines if the table is responsive
classes - a set of CSS class names
diff --git a/api/pl.treksoft.kvision.table/-table/index.html b/api/pl.treksoft.kvision.table/-table/index.html index 9c8adb66..3d129d74 100644 --- a/api/pl.treksoft.kvision.table/-table/index.html +++ b/api/pl.treksoft.kvision.table/-table/index.html @@ -18,7 +18,7 @@
Table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null)Table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null)
@@ -45,10 +45,10 @@
var responsive: Boolean
+var responsiveType: ResponsiveType?
Determines if the table is responsive.
| + + | +
+val children: MutableList<Component> |
+
| - + + | +
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit |
+
| + + | +
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit |
+
| + + | +
+fun Component.addBsClearfix(): Unit |
+
| + + | +
+fun Component.addBsColor(bsColor: BsColor): Unit |
+
| + + | +
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit |
+
| + |
-fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold
+DSL builder extension function. + |
+
| + + | +
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button
+DSL builder extension function. + |
+
| + + | +
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup
+DSL builder extension function. + |
+
| + + | +
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas
+DSL builder extension function. + |
+
| + + | +
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart
+DSL builder extension function. + |
+
| + + | +
+fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (CheckBox.() -> Unit)? = null): CheckBox
+DSL builder extension function. + |
+
| + + | +
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput
+DSL builder extension function. + |
+
| + + | +
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu
DSL builder extension function. |
|
@@ -207,6 +312,670 @@
Helper function for creating JavaScript objects from dynamic constructors. |
|
| + + | +
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, |