TinyBase logoTinyBase

Listener methods

This is the collection of listener methods within the Store interface. There are 20 listener methods in total.

addTablesListener

The addTablesListener method registers a listener function with the Store that will be called whenever data in the Store changes.

addTableIdsListener

The addTableIdsListener method registers a listener function with the Store that will be called whenever the Table Ids in the Store change.

addTableCellIdsListener

The addTableCellIdsListener method registers a listener function with the Store that will be called whenever the Cell Ids that appear anywhere in a Table change.

addTableListener

The addTableListener method registers a listener function with the Store that will be called whenever data in a Table changes.

addRowIdsListener

The addRowIdsListener method registers a listener function with the Store that will be called whenever the Row Ids in a Table change.

addSortedRowIdsListener

The addSortedRowIdsListener method registers a listener function with the Store that will be called whenever sorted (and optionally, paginated) Row Ids in a Table change.

addRowCountListener

The addRowCountListener method registers a listener function with the Store that will be called whenever the count of Row objects in a Table change.

addRowListener

The addRowListener method registers a listener function with the Store that will be called whenever data in a Row changes.

addCellIdsListener

The addCellIdsListener method registers a listener function with the Store that will be called whenever the Cell Ids in a Row change.

addCellListener

The addCellListener method registers a listener function with the Store that will be called whenever data in a Cell changes.

addInvalidCellListener

The addInvalidCellListener method registers a listener function with the Store that will be called whenever invalid data was attempted to be written to a Cell.

addValuesListener

The addValuesListener method registers a listener function with the Store that will be called whenever the Values change.

addInvalidValueListener

The addInvalidValueListener method registers a listener function with the Store that will be called whenever invalid data was attempted to be written to a Value.

addValueIdsListener

The addValueIdsListener method registers a listener function with the Store that will be called whenever the Value Ids in a Store change.

addValueListener

The addValueListener method registers a listener function with the Store that will be called whenever data in a Value changes.

addDidFinishTransactionListener

The addDidFinishTransactionListener method registers a listener function with the Store that will be called just after other non-mutating listeners are called at the end of the transaction.

addStartTransactionListener

The addStartTransactionListener method registers a listener function with the Store that will be called at the start of a transaction.

addWillFinishTransactionListener

The addWillFinishTransactionListener method registers a listener function with the Store that will be called just before other non-mutating listeners are called at the end of the transaction.

callListener

The callListener method provides a way for you to manually provoke a listener to be called, even if the underlying data hasn't changed.

delListener

The delListener method removes a listener that was previously added to the Store.