Caplin Trader 5.1.0

Class: module:ct-grid/decorator/RemoveRowDecorator

module:ct-grid/decorator/RemoveRowDecorator(decoratorConfig)

new module:ct-grid/decorator/RemoveRowDecorator(decoratorConfig)

Constructs a RemoveRowDecorator 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 RemoveRowDecorator class provides immediate visual feedback of a rows pending removal until the server round-trip has completed, and the row is actually removed from the view. The remove row decorator is not required for the module:ct-element/handler/RemoveGridRowOnClickHandler class to function correctly, but merely improves the responsiveness of the UI during such an operation.

Parameters:
Name Type Description
decoratorConfig object

config object

Implements:

Methods

setGridView(gridView)

Parameters:
Name Type Description
gridView module:ct-grid/GridView

The grid view

Implements:
See: