Constructor
new module:caplin/grid/decorator/ColumnSortDecorator(oGridConfig)
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 |
---|---|---|
oGridConfig |
Object | config object |
Members
-
(static, readonly) SORT_ACTION :String
-
What action on the column header triggers sorting.
Type:
- String
Methods
-
onClose()
-
onColumnsAdded()
-
onContainerHtmlRendered()
-
onSortColumnChanged()
-
setGridView()