row

fun row(background: PdfColor? = null, cellPadding: Padding? = null, minHeight: Dp? = null, block: TableRowScope.() -> Unit)

Adds a body row.

Parameters

background

optional fill drawn behind the row. Use if (index % 2 == 0) PdfColor.White else PdfColor.LightGray for zebra striping.

cellPadding

row-level override on top of the table-wide cell padding. null keeps the table default.

minHeight

forces the row to be at least this tall.