Caplin Trader 5.1.0

Interface: module:ct-grid/GridDataProviderSnapshotListener

module:ct-grid/GridDataProviderSnapshotListener

Interface implemented by objects needing to invoke the module:ct-grid/GridDataProvider#getSubjectIdentifiers method.

Methods

onGridSnapshotAvailable(mGridSnapshot)

call-back invoked on receiving snapshot of all records from the data provider

Parameters:
Name Type Description
mGridSnapshot Map

All the records in the grid, including off-screen records from the data provider

onSnapshotAvailable(pSubjectIdentifiers)

Call-back invoked once the requested subject identifier has become available.

Parameters:
Name Type Description
pSubjectIdentifiers Array

The complete list of row subject identifiers provided by the data provider.