new DocumentListRelations()
Extends
Methods
-
destroy()
-
Clear all bindings.
- Inherited From:
- Source:
-
fetchRelated()
-
- Inherited From:
- Source:
- To Do:
-
- Document the fetchRelated method.
-
formatDescription()
-
Show the description field of the info model
-
formatNumber()
-
Show the natural ID of the info model
-
formatPurpose()
-
Show the purpose of the document assignment
-
formatType()
-
Show the record type of the info model
-
getFirstSelected()
-
Returns the selected index as a string that looks like a number, e.g. "1"
- Inherited From:
- Source:
-
getInfoModel()
-
- Source:
- To Do:
-
- Document getInfoModel method.
-
getModel(Index, Return)
-
Parameters:
Name Type Description Index
Integer Return
Boolean InfoModel (default = true) -
getParent()
-
- Inherited From:
- Source:
- To Do:
-
- Document the getParent method.
-
hasMore()
-
- Inherited From:
- Source:
- To Do:
-
- Document the hasMore method.
-
lengthChanged()
-
To be able to render this list with the appropriate detail we need to have a cache of all of the info models that the document assignment models point to. Load up that cache, and then rerender the list when we have everything
-
modelAdded()
-
- Inherited From:
- Source:
- To Do:
-
- Document the modelAdded method.
-
openWindow()
-
- Source:
- To Do:
-
- Document the openWindow method.
-
orderByChanged()
-
- Inherited From:
- Source:
- To Do:
-
- Document the orderByChanged method.
-
parentStatusChanged()
-
- Inherited From:
- Source:
- To Do:
-
- Document the parentStatusChanged method.
-
readyModels()
-
Returns an array of the models whose status is not destroyed.
- Inherited From:
- Source:
-
refreshModel()
-
This version of refresh model refreshes the entire model tree since it is likely child models are nested only and can not be fetched independently.
- Inherited From:
- Source:
-
scroll()
-
- Inherited From:
- Source:
- To Do:
-
- Document the scroll method. How does it differ from the implementation for XV.List? XXX #refactor
-
setupItem()
-
Render the list. Note that we render readyModels here. This assumes that all the models in the collection are ready, or that the length has been specially trimmed with the lengthChanged function. If the count of the list is greater than the length of readyModels then this will error.
- Inherited From:
- Source:
-
statusChanged()
-
- Inherited From:
- Source:
- To Do:
-
- Document the statusChanged method.
-
valueChanged()
-
- Inherited From:
- Source:
- To Do:
-
- Document the valueChanged method.