Class ecm.widget.listView.BookmarkViewDecorator
Contains the decorators for bookmarks.
Defined in: <ecm\widget\listView\decorators\BookmarkViewDecorator.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Method Summary
Method Attributes | Method Name and Description |
---|---|
<static> |
ecm.widget.listView.BookmarkViewDecorator.contentCellDecorator(data, rowId, rowIndex)
Handles decoration of the bookmark.
|
<static> |
ecm.widget.listView.BookmarkViewDecorator.contentCellValue(gridData, storeData, cellWidget)
Updates the cell widget template created by the contentCellDecorator method, adding an action button to
access bookmark actions.
|
Method Detail
<static> ecm.widget.listView.BookmarkViewDecorator.contentCellDecorator(data, rowId, rowIndex)
Handles decoration of the bookmark.
- Parameters:
- data
- Cell data in the grid.
- rowId
- Id of the row containing the cell.
- rowIndex
- Index of the row containing the cell.
<static> ecm.widget.listView.BookmarkViewDecorator.contentCellValue(gridData, storeData, cellWidget)
Updates the cell widget template created by the contentCellDecorator method, adding an action button to
access bookmark actions.
- Parameters:
- gridData
- Contains the data in the grid cell. This will be null in this case, because the bookmark 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 bookmarks 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.