kvision / pl.treksoft.kvision.panel / ResponsiveGridPanel / add

add

(js) open fun add(child: Component, col: Int, row: Int, size: Int = 0, offset: Int = 0): ResponsiveGridPanel

Adds child component to the grid.

Parameters

child - child component

col - column number

row - row number

size - cell size (colspan)

offset - cell offset

Return
this container

(js) open fun add(child: Component): ResponsiveGridPanel

Adds given component to the current container.

Parameters

child - child component

Return
current container