ReadonlyisFor runtime type checking.
ReadonlyisFor runtime type checking.
Add a single column.
Optionalindex: numberOptionalvalues: Scalar[]Optionalname: stringOptionaloptions: ITransaction.OperationOptionsAdd Listeners.
Optionaloptions: IListener.OptionsAdd a single row to the table.
Optionalindex: number
The body row the new row goes in before, 0 being the first. Omitted, the row
is added at the end.
Optionaloptions: ITransaction.OperationOptionsThis is a convenience method for (index, 1)
Add a number of rows to a table.
The body row the new rows go in before, 0 being the first. An index at or past
the number of body rows adds them at the end, above the totals row if there is one.
Optionalcount: number
The number of rows to add. Defaults to 1.
Optionaloptions: ITransaction.OperationOptionsApplies all filters using the existing criteria.
Optionaloptions: ITransaction.OperationOptionsResolves once the rows are hidden; one transaction, one undo step.
Applies all sorts using the existing criteria.
Optionaloptions: ITransaction.OperationOptionsApplies both applyFilters and applySorts, in that order, as one transaction.
Optionaloptions: ITransaction.OperationOptionsSimilar to delete but cleans resources and can't be undone.
Convert the existing table to a range. This will remove the table but preserve the original data and formatting.
OptionalmaxCells: number
The maximum number of convert.
Optionaloptions: ITransaction.OperationOptionsDeletes the table and clears its cells.
Optionaloptions: ITransaction.OperationOptionsITable.convertToRange to remove the table and keep its cells.
Clears all filters and shows every row of the table, as Excel's Clear does — a row hidden by hand inside the table comes back too. The header and totals rows are never touched.
Optionaloptions: ITransaction.OperationOptionsDelete the rows from the table.
The index to clear from
Optionalcount: numberOptionaloptions: ITransaction.OperationOptionsDeletes both sorts and filters as one transaction.
Optionaloptions: ITransaction.OperationOptionsReplaces the filter levels and hides the rows that fail them.
Optionalconditions: ICondition.RangeOptions | Input<any>
undefined or { conditions: [] } → clears every filter, as deleteFilters.
ICondition.Input → one filter on the first column, as ICellRange.filter.{ conditions: [...] } → one level per condition, on the column each index names
(its position in the array when omitted), in that order.Optionaloptions: ITransaction.OperationOptionsResolves once the rows are hidden; one transaction, one undo step.
Returns the active filter entries as handle objects,
Returns the active sorts ordered by priority.
OptionalgetReturns which edges of the table grow when something is entered just beside it.
Returns a column for the given name or ID.
The name of the column.
The column or null if not found.
Returns an column for the given index.
The index of the column.
The column or null if not found.
Returns a column for the given ID.
The id of the column.
The column or null if not found.
Returns a column for the given name.
The name of the column.
The column or null if not found.
Returns the columns for this table.
Get the range between the header and the total.
Returns the filter at the specified index, or null if none.
Returns where a formula entered in the row just below the table goes.
Get the header row range.
The table's entry in the workbook's names, or null if it is not named.
Returns the range for the entire table.
A table occupies exactly one rectangle, which is why the singular is declared here rather than
on IAnchored. Invalid, never null, once the table is no longer anchored.
Returns the table style resolved against this table's geometry, as a per-cell properties provider.
Returns the ranges this object is anchored to, in authored order.
Optionaloptions: ICellRange.GetRangeOptionsnull. An item whose last range was removed by a row/column delete returns an
invalid ranges — ask ICellRanges.isInvalid, the same contract as
ITable.getDataRange.getRange() for it, but data validations, conditional formats and protected ranges are
authored as several, and any single range can become several when a delete splits it.Returns the sheet the table is associated with.
Returns the sort at the specified index.
A sort object (which may have a null criteria) or null if the
index is invalid or the table is closed.
Returns the current ITableStyle used.
Returns a cell style for the given coords.
The absolute coords.
Get the style info.
Get the total row range.
Returns the coords after any hidden values are applied.
The absolute coords
Returns if the model has been closed
Returns if the model has been deleted
Returns if the table is set to not fill a formula down its column.
Returns a flag indicating if the first column is visible due to hidden headers.
Returns a flag indicating if the header is visible due to hidden headers.
To know if the header flag is set use isShowHeaders
Returns whether the filter/sort button at the specified index is hidden.
This will only return true if all buttons are hidden.
Returns a flag indicating if the first column is visible due to hidden headers.
If the anchor is unable to be modified.
Specifies if banded columns is being applied.
Specifies if banded rows is being applied.
Specifies if headers are being shown for the table.
Specifies if first column is being highlighted.
Specifies if last column is being highlighted.
Specifies if totals are being shown for the table.
Returns a flag indicating if the footer is visible due to hidden headers.
Resize the table.
The new size of the table.
Optionaloptions: ITransaction.OperationOptionsResizes the current range to the specified ending row and column indices.
The new row count.
The new column count.
Optionaloptions: ITransaction.OperationOptionsICellRange with the resized range.
Selects the current table.
Optionaloptions: ICellRange.SelectOptionsAn async boolean indicating the table was selected.
Set which edges of the table grow when something is entered just beside it.
Optionaloptions: ITransaction.OperationOptionsThis is the alternative text use for assistive technologies.
A short human readable text. Default value null.
Optionaloptions: ITransaction.OperationOptionsIf true a formula entered into one cell of an empty column is not filled down the column.
Optionaloptions: ITransaction.OperationOptionsSet where a formula entered in the row just below the table goes.
Optionaloptions: ITransaction.OperationOptionsSets whether the filter/sort button at the specified index is hidden.
If hidden is true then all filter/sort buttons are hidden.
Set the name for a table object.
A unique name.
Optionaloptions: ITransaction.OperationOptionsSpecifies if banded columns is being applied.
Optionaloptions: ITransaction.OperationOptionsSpecifies if banded rows is being applied.
Optionaloptions: ITransaction.OperationOptionsSpecifies if headers are being shown for the table.
Optionaloptions: ITransaction.OperationOptionsSpecifies if first column is being highlighted.
Optionaloptions: ITransaction.OperationOptionsSpecifies if last column is being highlighted.
Optionaloptions: ITransaction.OperationOptionsSpecifies if totals are being shown for the table.
Optionaloptions: ITransaction.OperationOptionsReplaces the sort chain.
Optionaloptions: ISort.RangeOptions & ITransaction.OperationOptions
undefined or no sorts → clears existing sort levels.
sorts: [] → explicitly clears all sort levels.sorts: [...] → replaces the sort levels (primary → secondary → ...).Updates the table StyleInfo.
Style options unique to the table.
A Table is an embedded table that allows for advanced capabilities.