new module:ct-grid /decorator /Column Sort Decorator(decorator Config)
Constructs a 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:ct-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) |
Members
(static, readonly) SORT _ACTION :String
What action on the column header triggers sorting.
Type:
- String
Methods
on Close()
on Columns Added()
- Implements:
- See:
on Container Html Rendered()
- Implements:
- See:
on Sort Column Changed()
- Implements:
- See: