Class ecm.widget.listView.SocialViewDecorator

Contains the decorators for social data.
Defined in: <ecm\widget\listView\decorators\SocialViewDecorator.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
<static>  
ecm.widget.listView.SocialViewDecorator.contentCellDecorator(data, rowId, rowIndex)
Handles decoration of the social datum.
<static>  
ecm.widget.listView.SocialViewDecorator.contentCellValue(gridData, storeData, cellWidget)
Updates the cell widget template created by the contentCellDecorator method.

Constructor Detail

ecm.widget.listView.SocialViewDecorator()

Since:
2.0.3

Method Detail

<static> ecm.widget.listView.SocialViewDecorator.contentCellDecorator(data, rowId, rowIndex)

Handles decoration of the social datum.
Parameters:
data
Cell data in the grid.
rowId
Id of the row containing the cell.
rowIndex
Index of the row containing the cell.
Since:
2.0.2

<static> ecm.widget.listView.SocialViewDecorator.contentCellValue(gridData, storeData, cellWidget)

Updates the cell widget template created by the contentCellDecorator method.
Parameters:
gridData
Contains the data in the grid cell. This will be null in this case, because the social list relies on retrieving the information from the actual item used to populate the row.
storeData
Contains store data. This will be null in this method, because the appropriate flags are not applied to the Grid to obtain raw store data in this method (it is not needed). See comments in gridx/modules/CellWidget in the GridX documentation for details: http://oria.github.io/gridx/gallery.html.
cellWidget
Widget generated from the template provided in contentCellDecorator.