Caplin Trader 4.0.1

Class: module:caplin/grid/decorator/ContainerExportDecorator

module:caplin/grid/decorator/ContainerExportDecorator

Constructor

new module:caplin/grid/decorator/ContainerExportDecorator()

Decorator ContainerExportDecorator enable exporting of container contents to CSV file Via eventhub
Implements:

Methods

onRowDataUnavailable()

Disable the menu group representing export functionality when attempted communication with the server fails.
Implements:
See:

onSizeChanged()

Disable and enable the export functionality when the grid is empty and non-empty respectively.
Implements:
See:

setGridView(oGridView)

Gets the gridView to determine row count of grid and componentAdaptor.
Parameters:
Name Type Description
oGridView module:caplin/grid/GridView Grid whose to be exported to CSV via menu item.
Implements: