new module:ct-grid /decorator /Drop Decorator(config)
Constructs a DropDecorator
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.
The drop decorator is used to allow receiving instruments that have been dragged onto a grid configured with this decorator from other grids or trade panels configured with the drag decorator. The drop decorator only makes sense where the grid rows are instruments that can be requested from the Liberator.
It ultimately passes the received instruments on to the GridView's receiveObjects method.
Extends:
Parameters:
Name | Type | Description |
---|---|---|
config |
oject | config object |
Extends
Methods
can Receive()
- Implements:
- See:
can Receive Multiple Objects()
- Implements:
- See:
can Receive Objects()
- Implements:
- See:
dispose Drop Target()
Disposes the drop target
- Inherited From:
get Last Receive Failure Message()
- Implements:
- See:
get Success Message()
- Implements:
- See:
on Close()
- Implements:
- See:
-
- module:ct-grid/decorator/GridViewListener#onClose
on Container Html Rendered()
- Implements:
- See:
-
- module:ct-grid/decorator/GridViewListener#onContainerHtmlRendered
receive Objects()
- Implements:
- See:
set Drop Target(component, config)
Sets the drop target
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
component |
module:ct-component |
The component to be set as a drop target |
||||||
config |
Object |
The drop decorator configuration object Properties
|
- Inherited From: