ReadonlycolumnsGets the table's columns definition.
Gets or sets the description of the field.
The description is displayed below the input. If set, it overrides the default description coming from SharePoint.
Supports resource keys with the RESX. prefix (e.g. "RESX.MyFieldDescription").
The key is resolved from the form's Resources translation table.
Gets or sets whether the field is hidden.
ReadonlyinternalGets the internal name that is used for the field.
ReadonlyoriginalGets original field value before any changes. This value is not updated when the field value is changed.
Gets or sets the current table page.
ReadonlypageGets the number of pages.
Gets or sets whether the field is read-only.
Gets or sets whether the field requires a value.
ReadonlyrowGets the number of rows.
ReadonlyrowsGets table rows as an array of FieldAdvancedTableRow
Gets or sets the title (label) of the field.
The title is displayed in the field header. If set, it overrides the default title coming from SharePoint.
Supports resource keys with the RESX. prefix (e.g. "RESX.MyFieldTitle").
The key is resolved from the form's Resources translation table.
ReadonlytypeGets the type of the field.
Gets or sets the field value.
Appends new row at the end of the table.
Optionalvalues: Record<string, any>cell values
instance of the newly created row
cell's row index.
cell's column identifier.
instance of the table's cell.
Inserts new row at an index.
index position at which the row should be inserted at.
Optionalvalues: Record<string, any>cell values
instance of the newly created row
Registers an event that gets called when a cell value changes.
the callback that gets called.
const { myTable } = tisa.form.field;
myTable.onCellChanged((value, { oldValue, row, cell }) => {
console.log(`Cell [${row.index}, ${cell.columnInternalName}] changes it's value from: ${oldValue} → ${value}`);
// Example: when division changes, clear the department in the same row
if (columnInternalName === "division") {
row.cell("department").value = null;
}
});
Subscribes to field value changes.
callback invoked when the value changes
Registers an event that gets called after the table's page changes.
the callback that gets called.
Registers an event that gets called when a row is added.
the callback that gets called.
Registers an event that gets called before a row is deleted.
the callback that gets called.
true when the action should be aborted.
Manages an advanced table field. The advanced table field is used to create a table on a form. The table is dynamic and allows to display different types of data. It is typically used to display process history, to define sub-items of the current item, or for spreadsheet calculations on a form.
Inherits core field functionality from Field, including:
Example