TinyBase logoTinyBase

Listener methods

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

addHasTablesListener

The addHasTablesListener method registers a listener function with the Store that will be called when Tables as a whole are added to or removed from the Store.

Read more

addTablesListener

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

Read more

addTableIdsListener

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

Read more

addHasTableCellListener

The addHasTableCellListener method registers a listener function with the Store that will be called when a Cell is added to or removed from anywhere in a Table as a whole.

Read more

addHasTableListener

The addHasTableListener method registers a listener function with the Store that will be called when a Table is added to or removed from the Store.

Read more

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.

Read more

addTableListener

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

Read more

addRowIdsListener

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

Read more

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.

Read more

addHasRowListener

The addHasRowListener method registers a listener function with the Store that will be called when a Row is added to or removed from the Store.

Read more

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.

Read more

addRowListener

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

Read more

addCellIdsListener

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

Read more

addCellListener

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

Read more

addHasCellListener

The addHasCellListener method registers a listener function with the Store that will be called when a Cell is added to or removed from the Store.

Read more

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.

Read more

addHasValuesListener

The addHasValuesListener method registers a listener function with the Store that will be called when Values as a whole are added to or removed from the Store.

Read more

addValuesListener

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

Read more

addHasValueListener

The addHasValueListener method registers a listener function with the Store that will be called when a Value is added to or removed from the Store.

Read more

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.

Read more

addValueIdsListener

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

Read more

addValueListener

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

Read more

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.

Read more

addStartTransactionListener

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

Read more

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.

Read more

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.

Read more

delListener

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

Read more