rowStyle

fun rowStyle(fn: (index: Int, item: T) -> ExcelStyle?)

Defines a conditional style for data rows.

Parameters

fn

a lambda that returns a style based on the row index and item