Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


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:

  • Column ID
  • Template configuration (value)
  • Current row data


Anchor
ColumnTemplate_CellClickRowClick
ColumnTemplate_CellClickRowClick
Cell Click and Row Click Events

...

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
languagejs
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.

...