Class
caplin.grid.decorator

ContainerExportDecorator

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

Constructor Summary

Attributes Name and Description
caplin.grid.decorator.ContainerExportDecorator( oGridConfig)

Method Summary

Attributes Name and Description
void onRowDataUnavailable()

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

void onSizeChanged( nNewSize)

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

void setGridView(caplin.grid.GridView oGridView)

Gets the gridView to determine row count of grid and componentAdaptor.

Methods implemented from class caplin.grid.GridViewListener:
onActivate, onAllRowsReceived, onClose, onContainerHtmlRendered, onDeactivate, onHide, onMaximize, onMinimize, onOpen, onResize, onRestore, onRowStructureChanged, onScroll, onScrollComplete, onScrollHorizontal, onScrollVertical, onShow, onViewRedrawn, onVisibleRowCountChanged
Methods implemented from class caplin.grid.GridRowModelListener:
onAllDataReceived, onRowContentsChanged, onRowDataReceived, onRowDataRequested, onRowModelStateChanged, onStartIndexChanged

Constructor Detail

caplin.grid.decorator.ContainerExportDecorator( oGridConfig)

Parameters
oGridConfig

Method Detail

void onRowDataUnavailable()

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

See
caplin.grid.GridRowModelListener#onRowDataUnavailable

void onSizeChanged( nNewSize)

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

Parameters
nNewSize
See
caplin.grid.GridRowModelListener#onSizeChanged

void setGridView(caplin.grid.GridView oGridView)

Gets the gridView to determine row count of grid and componentAdaptor.

Parameters
caplin.grid.GridView oGridView Grid whose to be exported to CSV via menu item.