row

fun row(rowNum: Int? = null, height: Double? = null, style: ExcelStyle? = null, init: RowScope.() -> Unit)

Defines a single row.

If [rowNum] is not provided, the index increments automatically based on the last written row.

Parameters

rowNum

the zero-based row index

height

the optional height of the row in points

style

the optional style to apply to this specific row

init

the DSL block for configuring the row's cells

See also

Throws

if rowNum is less than the current sequence pointer