the row type
Optional columnThe fields whose values become columns, top first. Several fields form a multi-row header. Default [] (totals only).
Optional columnA total column behind every column group (e.g. "2026 Total" behind its quarters); the group gets a toggle and, when collapsed, shows only its total. Default: true with two or more column fields.
Optional defaultRow heights of header, body and footer. Default: tableOptions.defaultRowHeights.
Optional emptyThe label of empty keys (null, undefined, "") – rows and columns. Default "(empty)".
Optional emptyThe text of a cell without data (the value stays undefined, not 0). Default "".
Optional expandedExpanded row groups: true (default), false, open levels as a number (0 = all closed) or a function per group.
Optional getSelection model factory. Default: tableOptions.getSelectionModel.
Optional groupThe group column (arrows and row labels): header, width, showCount (default false), own label, fixed (default true).
Optional maxThe maximum number of column keys (of the lowest column level). More keys: the first ones are shown, a warning is logged and PivotResult.truncated is true – total column, subtotal columns and total row still count all rows. Default 1000.
The row levels, top first. Several levels form a hierarchy with subtotals. An empty list shows one total row.
Optional rowRow numbers in front of the group column (counted per displayed row).
The source rows (not changed).
Optional subtotalsShow the aggregates in the group rows (subtotals). Default true.
Optional tableOptions of the table (row heights, selection model …).
Optional totalThe total column(s) on the right: "fixed" (default, fixed on the right), true (last columns, scrolled) or false.
Optional totalThe word for totals: header of the total column, label of the total row, suffix of subtotal columns. Default "Total".
Optional totalThe total row in the footer. Default true.
Optional valueThe width of a value column. Default 100 px.
The aggregated values (at least one): "umsatz" (sum) or PivotValueIf. With several values every column key gets one column per value.
Parameters of PivotFactory.createTableModel: the rows, the pivot (PivotConfigIf) and the look of the table.
Example
Since
1.1.94