Caplin Trader 5.1.0

Class: module:ct-grid/decorator/DragDecorator

module:ct-grid/decorator/DragDecorator(config)

The drag decorator enables instruments to be dragged from grids, to other components (configured with the module:ct-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:ct-grid/decorator/DragDecorator(config)

Constructs a 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:ct-grid/GridComponentFactory class.

Parameters:
Name Type Description
config Object

The decorator config object

Implements:

Methods

setGridView()

Implements:
See: