TinyBase logoTinyBase

TableCellIdsListener

The TableCellIdsListener type describes a function that is used to listen to changes to the Cell Ids that appear anywhere in a Table.

The TableCellIdsListener type describes a function that is used to listen to changes to the Cell Ids that appear anywhere in a Table.

(
  store: Store,
  tableId: Id,
  getIdChanges: GetIdChanges | undefined,
): void
TypeDescription
storeStore

A reference to the Store that changed.

tableIdId

The Id of the Table that changed.

getIdChangesGetIdChanges | undefined

A function that returns information about the Id changes.

returnsvoid

This has no return value.

A TableCellIdsListener is provided when using the addTableCellIdsListener method. See that method for specific examples.

When called, a TableCellIdsListener is given a reference to the Store, the Id of the Table whose Cell Ids changed, and a GetIdChanges function that can be used to query which Ids changed during the transaction.

Since

v3.3.0

A TableCellIdsListener is provided when using the addTableCellIdsListener method. See that method for specific examples.

When called, a TableCellIdsListener is given a reference to the Store, the Id of the Table whose Cell Ids changed, and a GetIdChanges function that can be used to query which Ids changed during the transaction.

Since

v3.3.0