...
- Cell Click and Row Click events
- Cell Double-Click and Row Double-Click events
- Change event
- Context Click event
Note |
---|
Whether you define a Cell Click, Row Click, Cell Double Click, Row Double Click, Change or a Context Click event, the data that is returned will be:
|
Anchor | ||||
---|---|---|---|---|
|
...
On a Context Click, the column ID is returned followed by the template configuration (value) and the row details as shown in the following image:
...
...
Whether you define a Cell Click, Row Click, Cell Double Click, Row Double Click, Change or a Context Click event, the data that is returned will be:
- Column ID
- Template configuration (value)
- Current row data
The template configuration code for the Reference Number column is as follows:
...
Code Block | ||
---|---|---|
| ||
CWEH.registerHandler('WGT_DRAFT', CWEC.CONTEXT_CLICK, function(columnId, value, record) { LOGGER.info('fired contextThe CONTEXT_CLICK event is captured.', [columnId, value, record]); }); // Here, 'WGT_DRAFT’ is the widget ID. |
...