ResponsiveGridPanel

open class ResponsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: <Error class: unknown class>? = null, className: String? = null, init: ResponsiveGridPanel.() -> Unit? = null)

The container with support for Bootstrap responsive grid layout.

Parameters

gridSize

grid size

rows

number of rows

cols

number of columns

align

text align of grid cells

className

CSS class names

init

an initializer extension function

Constructors

Link copied to clipboard
constructor(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: <Error class: unknown class>? = null, className: String? = null, init: ResponsiveGridPanel.() -> Unit? = null)

Properties

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

Text align of grid cells.

Functions

Link copied to clipboard
open fun add(child: <Error class: unknown class>)

open fun add(child: <Error class: unknown class>, col: Int, row: Int, size: Int = 0, offset: Int = 0, className: String? = null)

Adds child component to the grid.

Link copied to clipboard
open fun addAll(children: List<<Error class: unknown class>>)
Link copied to clipboard
open fun options(col: Int, row: Int, size: Int = 0, offset: Int = 0, className: String? = null, builder: <Error class: unknown class>.() -> Unit)

DSL function to add components with additional options.

Link copied to clipboard
open fun remove(child: <Error class: unknown class>)
Link copied to clipboard
open fun removeAt(col: Int, row: Int)

Removes child component at given location (column, row).