TinyBase logoTinyBase

ResultTableCellIdsListener

The ResultTableCellIdsListener type describes a function that is used to listen to changes to the Cell Ids that appear anywhere in a query's ResultTable.

(
  queries: Queries,
  tableId: Id,
  getIdChanges: GetIdChanges | undefined,
): void
TypeDescription
queriesQueries

A reference to the Queries object that changed.

tableIdId

The Id of the ResultTable that changed, which is also the query Id.

getIdChangesGetIdChanges | undefined
returnsvoid

This has no return value.

A ResultTableCellIdsListener is provided when using the addResultTableCellIdsListener method. See that method for specific examples.

When called, a ResultTableCellIdsListener is given a reference to the Queries object, and the Id of the ResultTable whose Cell Ids changed (which is the same as the query Id).

You can create new query definitions within the body of this listener, though obviously be aware of the possible cascading effects of doing so.

Since

v4.1.0