Attributes | Name and Description |
---|---|
|
caplin.grid.dataprovider.expandable.ChildContainerConfiguration()
|
Attributes | Name and Description |
---|---|
|
String
getChildContainerName(Object mParentRowData, String sParentSubject)
Used to specify the name of the container to request to place in the child container . |
|
void
getContainerToExpanded( mParentRowData, sParentSubject)
|
|
Array
getFieldsToRequest(caplin.grid.GridColumnModel oGridColumnModel)
This is the way to specify which fields to request for the child container. |
|
Object
mapUpdateFieldsToCurrentGridFields(Object mRecordUpdates)
When an update comes in for a child record it may need to be mapped. |
►
caplin.grid.dataprovider.expandable.ChildContainerConfiguration()
►
String
getChildContainerName(Object mParentRowData, String sParentSubject)
Used to specify the name of the container to request to place in the child container .
Object | mParentRowData | the row data from the parent, all fields and their corresponding values. |
String | sParentSubject | name of the parent subject. |
►
void
getContainerToExpanded( mParentRowData, sParentSubject)
mParentRowData | ||
sParentSubject |
►
Array
getFieldsToRequest(caplin.grid.GridColumnModel oGridColumnModel)
This is the way to specify which fields to request for the child container. The child container may have different field names then the parent one and this method permits requesting different field names. It will be called after a parent row has been clicked to trigger an expansion.
caplin.grid.GridColumnModel | oGridColumnModel | the GridColumnModel for the grid. |
►
Object
mapUpdateFieldsToCurrentGridFields(Object mRecordUpdates)
When an update comes in for a child record it may need to be mapped. The fields of the update are the child container fields and those fields may not be present in the parent container/grid definition. This method allows mapping between the two different field sets.
Object | mRecordUpdates | the row data for child row update. |