Caplin Trader 4.8.0

Interface: module:caplin/grid/GridDataProviderSnapshotListener

module:caplin/grid/GridDataProviderSnapshotListener

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

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.
Implementations:
  • module:caplin/grid/GridRowSelectionModel#onSnapshotAvailable