Caplin Trader 4.8.0

Class: module:caplin/grid/decorator/SelectionDecorator

module:caplin/grid/decorator/SelectionDecorator

Constructor

new module:caplin/grid/decorator/SelectionDecorator(config)

Constructs a caplin.grid.decorator.SelectionDecorator instance — end-users will never need to do this themselves since grids are fully constructed based on their XML definition files by the module:caplin/grid/GridComponentFactory class.

The SelectionDecorator is used to allow the user to select rows, so that operations can be applied to those rows.

Applications that perform their own layout management, and that do not use webcentric for this purpose will need to ensure that the module:caplin/component/ComponentLifecycleEvents#onActivate method is invoked for grids that use the selection decorator.

Parameters:
Name Type Description
config Object decorator configuration
Implements:

Methods

onActivate()

Implements:
See:
  • module:caplin/grid/decorator/GridViewListener#onActivate

onClose()

Implements:
See:
  • module:caplin/grid/decorator/GridViewListener#onClose

onContainerHtmlRendered()

Implements:
See:
  • module:caplin/grid/decorator/GridViewListener#onContainerHtmlRendered

onDeactivate()

Implements:
See:
  • module:caplin/grid/decorator/GridViewListener#onDeactivate

onRowSelectionChanged()

Implements:
See:

onViewRedrawn()

Implements:
See:
  • module:caplin/grid/decorator/GridViewListener#onViewRedrawn

setGridView()

Implements:
See: