Caplin Trader 4.7.1

Class: module:caplin/grid/decorator/DragDecorator

module:caplin/grid/decorator/DragDecorator

The drag decorator enables instruments to be dragged from grids, to other components (configured with the module:caplin/grid/decorator/DropDecorator).

This decorator can only be applied where the following conditions have been met:

For this decorator to be useful, other components should be configured with a drop decorator using the same ddGroup.

Constructor

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

Constructs a caplin.grid.decorator.DragDecorator 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.
Parameters:
Name Type Description
config Object The decorator config object
Implements:

Methods

setGridView()

Implements:
See: