Column Def
constructor(header: String, headerStyle: ExcelStyle? = null, style: ExcelStyle? = null, cellStyle: (T) -> ExcelStyle?? = null, linkExtractor: (T) -> String?? = null, valueExtractor: (T) -> Any?? = null, formulaExtractor: (Int, T) -> String? = null)
Parameters
header
the column header text
header Style
optional style override for this column's header cell only
style
optional static style for data cells in this column
cell Style
optional dynamic style for data cells, evaluated per item. Has the highest priority.
link Extractor
optional lambda to extract a hyperlink URL from each item
value Extractor
lambda to extract the cell value from each item