new module:ct-grid /decorator /Selection Decorator(config)
Constructs a SelectionDecorator
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 SelectionDecorator
is used to allow the user to select rows, so that operations can be applied
to those rows.
Applications that perform their own layout management, and that do not use webcentric for this purpose will need
to ensure that the module:ct-component/ComponentLifecycleEvents#onActivate
method is invoked for grids
that use the selection decorator.
Parameters:
Name | Type | Description |
---|---|---|
config |
Object | decorator configuration |
Methods
on Activate()
- Implements:
- See:
-
- module:ct-grid/decorator/GridViewListener#onActivate
on Close()
- Implements:
- See:
-
- module:ct-grid/decorator/GridViewListener#onClose
on Container Html Rendered()
- Implements:
- See:
-
- module:ct-grid/decorator/GridViewListener#onContainerHtmlRendered
on Deactivate()
- Implements:
- See:
-
- module:ct-grid/decorator/GridViewListener#onDeactivate
on Row Selection Changed()
- Implements:
- See:
on View Redrawn()
- Implements:
- See:
-
- module:ct-grid/decorator/GridViewListener#onViewRedrawn