Mixin: module:argos/_RelatedViewWidgetListMixin

module:argos/_RelatedViewWidgetListMixin

Members

listActionTemplate

Properties:
Name Type Description
The Simplate

template used to render the single list action row.

Source:

relatedViewManagers

The related view managers for each related view definition.

Source:

relatedViews

The related view definitions for related views for each row.

Source:

Methods

createRelatedViewLayout() → {Object}

Sets and returns the related view definition, this method should be overriden in the view so that you may define the related views that will be add to each row in the list.

Source:
Returns:

this.relatedViews

Type
Object

destroy()

Extends dijit Widget to destroy the search widget before destroying the view.

Source:

destroyRelatedViewWidgets()

Destroys all of the related view widgets, that was added.

Source:

getContextSnapShot()

Returns a rendered html snap shot of the entry.

Source:

getRelatedViewManager() → {Object}

Gets the related view manager for a related view definition. If a manager is not found a new Related View Manager is created and returned.

Source:
Returns:

RelatedViewManager

Type
Object

onProcessRelatedViews(entry, rownode, entries)

Add the each entry and row to the RelateView manager wich in turn creates the new related view and renders its content with in the current row.`

Parameters:
Name Type Description
entry Object

the current entry from the data.

rownode Object

the current dom node to add the widget to.

entries Object

the data.

Source: