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. -
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. -
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. -
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: