Readonly
bodyProtected
columnProtected
contentProtected
contentReadonly
defaultReadonly
fixedReadonly
fixedReadonly
footerReadonly
getReadonly
headerProtected
overridingProtected
paddingProtected
parentReadonly
rowProtected
rowProtected
xPrivate
arrayPrivate
calcXPositionsSorts the items using the given sortItems array.
An array of sort items to sort the items.
This method is called when an external filter is changed.
The function used to predict whether an element should be filtered or not.
Calculates the height of the area identified by the given area identifier.
The identifier of the area.
Retrieves the area model (header, body or footer) based on the area identification.
The identifier of the area.
The area model corresponding to the given area identification.
If the area identification is invalid.
Returns the body area model.
The body area model.
Returns the column definition at the specified index.
The index of the column definition to retrieve.
Returns an array of ColumnDefIf objects or undefined.
An array of ColumnDefIf objects or undefined.
Retrieves the property key of the table row business object associated with the specified column index. It's only available when columnDefs are specified.
The index of the column to retrieve the property from.
The property associated with the specified column index.
Retrieves the model for the given row area identifier.
The identifier of the row area.
Returns the height of the specified row in the given row area identifier.
The row area identifier.
The index of the row.
Returns the total width of the side area identified by sideIdent.
The identifier of the side area ("west" | "center" | "east").
Retrieves the start and end column indices based on the given side identifier.
The side identifier, which can be "west", "east", or "center".
Checks if the footer is visible.
True if the footer is visible, false otherwise.
Private
recalcPrivate
recalcRecalculates the height and padding for the body area.
This method retrieves the area model for the "body" area, and updates the rowCount property with the row count of the model.
The contentHeightInPx property is then updated with the height of the "body" area.
The method calls the recalcContentWidthInPx() method to recalculate the content width.
Finally, the method calls the recalcPadding() method to recalculate the padding.
Generated using TypeDoc
This is a default implementation of TableModelIf. Ths TableModel is on one hand a container for the header, body, and footer models (see : #getAreaModel, and #AreaModelIf), and on the other hand the master of the column information (#getColumnCount(), #getColumnWidth(columnIndex: number)).
If getFixedLeftColumnCount() returns a value greater than 0, a fixed west area will be rendered in the header, body, and footer. A value greater than 0 for getFixedLeftColumnCount() will result in the presence of an east area.