Caplin Trader 4.8.0

Class: module:caplin/grid/decorator/ColumnSortDecorator

module:caplin/grid/decorator/ColumnSortDecorator

Constructor

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

Constructs a caplin.grid.decorator.ColumnSortDecorator 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 ColumnSortDecorator adds sort behaviour to the column headers. This is activated by a click on the column header and results in the sort order changing between none, ascending and descending, in that order.
Parameters:
Name Type Description
decoratorConfig object config object (unused)
Implements:

Members

(static, readonly) SORT_ACTION :String

What action on the column header triggers sorting.
Type:
  • String

Methods

onClose()

Implements:
See:

onColumnsAdded()

Implements:
See:

onContainerHtmlRendered()

Implements:
See:

onSortColumnChanged()

Implements:
See:

setGridView()

Implements:
See: