Constructor
new module:caplin/grid/DataProviderRowModel(columnModel, dataProvider)
Constructs a
caplin.grid.DataProviderRowModel
.
Parameters:
Name | Type | Description |
---|---|---|
columnModel |
module:caplin/grid/GridColumnModel | GridColumnModel | The column model this row model is associated with — necessary for listening to sorting and filtering events on the column model. |
dataProvider |
module:caplin/grid/GridDataProvider | GridDataProvider | The data provider instance that will do the actual work of providing the data that will be contained by the row model. |
Members
-
(static, readonly) OBJECT_DATA_TIMEOUT :int
-
The amount of time to wait for each object before firing
module:caplin/grid/GridRowModelListener#onAllDataReceived
Type:
- int
Methods
-
canReceive()
-
canReceiveMultipleObjects()
-
canReceiveObjects()
-
getLastReceiveFailureMessage()
-
getSubjects()
-
- Implements:
- Deprecated:
- Yes
-
getSuccessMessage()
-
receiveObjects()
-
setRowDataBySubject(index, rowData)
-
Method added to allow editing data inside grid. The implementation adds the field to a field cache which overrides the fields received from rttp Sets the field value for the row with the specific index
Parameters:
Name Type Description index
int index id of the row to add field rowData
Map field maps to update -
supportsFeature(feature)
-
Determine whether this instance of
GridRowModel
supports a particular feature.This method is merely proxied on to the underlying
module:caplin/grid/GridDataProvider
.Parameters:
Name Type Description feature
int the feature constant that is being queried.