Model of the body. Default: built from rows (objects or tree rows) or bodyData. See AreaModel for own models.
The body as rows of values (any[][]).
Number of columns. Default: derived from columnDefs, headerData or columnSizes.
The columns: property, header label, width, classes, renderers, sorting, editing. See ColumnDef.
Column widths in px – the simple alternative to columnDefs (e.g. with bodyData).
Row heights of header, body and footer in px. Default: tableOptions.defaultRowHeights, otherwise 34 / 34 / 34.
Number of columns fixed on the left (side "west"). Default 0.
Number of columns fixed on the right (side "east"). Default 0.
Model of the footer. Default: footerData, otherwise no footer. Totals that follow the filter: an own AreaModel.
Footer rows as values (static – they don't follow filter or edits).
Selection model factory. Default: tableOptions.getSelectionModel.
Model of the header. Default: one header row from the headerLabels of columnDefs, or headerData.
Header rows as values – several rows are possible.
A width in px for all columns; -1 (default) = use the column definitions.
Width of the parent element in px, used for percentage column widths before the first render (default 400).
Which properties of rows become columns, in this order (ignored if columnDefs is given).
Show a checkbox column for every row. Default false.
The rows as objects (T[]) or tree rows from TreeFactory.buildTreeRows.
Options of the table; the factory reads defaultRowHeights, getSelectionModel and showCheckboxWihoutExtraColumn.
Parameters of TableFactory.createTableModel – pass any subset (
Partial<CreateTableModelPara>).Three typical combinations:
rows(+propertiesorcolumnDefs)headerData,bodyData,footerData,columnSizesheaderAreaModel,bodyAreaModel,footerAreaModel+columnDefsEverything not given is derived: column definitions from
propertiesor the keys of the first row (header label = key in upper case, width 200 px), area models from the data, row heights fromtableOptions.defaultRowHeights.Example