dataTable

fun dataTable(headers: List<String>, rows: List<List<String>>, caption: String? = null)(source)

Appends a ReportNode.DataTable for pre-formatted string data.

All rows must have the same number of cells as headers.

Parameters

headers

column header labels

rows

table body; each list must be the same length as headers

caption

optional table caption