new module:ct-grid /Dummy Grid Data Provider()
Constructs a DummyGridDataProvider
.
A DummyGridDataProvider
defines provider for grids that wish to connect to RTTP containers.
this interface.
- Implements:
Methods
add Data Provider Listener(oData Provider Listener)
Adds a GridDataProviderListener
to wishes to listen to data updates.
Parameters:
Name | Type | Description |
---|---|---|
oDataProviderListener |
module:ct-grid |
The listener to add. |
- Implements:
- See:
remove Data Provider Listener(oData Provider Listener)
Removes a GridDataProviderListener
that no longer wishes to listen to data updates.
Parameters:
Name | Type | Description |
---|---|---|
oDataProviderListener |
module:ct-grid |
The listener to remove. |
- Implements:
- See:
set Required Fields(nStart Index, 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. |
set Row Range(nStart Index, 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:
supports Feature(feature)
Determine whether this instance of GridDataProvider
supports a particular feature.
Parameters:
Name | Type | Description |
---|---|---|
feature |
int | the feature constant that is being queried. |