column
fun column(header: String, style: ExcelStyle? = null, headerStyle: ExcelStyle? = null, cellStyle: (T) -> ExcelStyle?? = null, link: (T) -> String?? = null, extractor: (T) -> Any?)
Defines a column in the data sheet.
Parameters
header
the column header text
style
optional static style for data cells in this column
header Style
optional style override for this column's header cell only. If provided, it is merged on top of the sheet-level headerStyle.
link
an optional lambda to extract a hyperlink URL from each item
extractor
a lambda to extract the cell value from each item