add

open fun add(child: Component, col: Int, row: Int, size: Int = 0, offset: Int = 0, className: String? = null)

Adds child component to the grid.

Parameters

child

child component

col

column number

row

row number

size

cell size (colspan)

offset

cell offset

className

additional css styles


open override fun add(child: Component)

Adds given component to the current container.

Parameters

child

child component