Caplin Trader 4.7.1

Class: module:caplin/grid/DummyGridDataProvider

module:caplin/grid/DummyGridDataProvider

Constructor

new module:caplin/grid/DummyGridDataProvider()

Constructs a caplin.grid.DummyGridDataProvider. A DummyGridDataProvider defines provider for grids that wish to connect to RTTP containers. this interface.
Implements:

Methods

addDataProviderListener(oDataProviderListener)

Adds a GridDataProviderListener to wishes to listen to data updates.
Parameters:
Name Type Description
oDataProviderListener module:caplin/grid/GridDataProviderListener The listener to add.
Implements:
See:

removeDataProviderListener(oDataProviderListener)

Removes a GridDataProviderListener that no longer wishes to listen to data updates.
Parameters:
Name Type Description
oDataProviderListener module:caplin/grid/GridDataProviderListener The listener to remove.
Implements:
See:

setRequiredFields(nStartIndex, nSize)

Sets the start index and total number of rows that this DummyGridDataProvider should use when notifying listeners of row updates.
Parameters:
Name Type Description
nStartIndex int The start index of the first row within the range.
nSize int The number of rows within the range.
Implements:

setRowRange(nStartIndex, nSize)

Sets the start index and total number of rows that this DummyGridDataProvider should use when notifying listeners of row updates.
Parameters:
Name Type Description
nStartIndex int The start index of the first row within the range.
nSize int The number of rows within the range.
Implements: