Caplin Trader 4.7.1

Class: module:caplin/grid/decorator/RemoveRowDecorator

module:caplin/grid/decorator/RemoveRowDecorator

Constructor

new module:caplin/grid/decorator/RemoveRowDecorator(decoratorConfig)

Constructs a caplin.grid.decorator.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:caplin/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:caplin/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:caplin/grid/GridView The grid view
Implements:
See: