Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


When an App is created in Canvas, it does not expect any JavaScript code to be created by default. The following details are provided for scenarios where there is a need to listen to user interaction with the App and handle those events as appropriate.

The following sample code is a simple JS class for an App with the Id BEN_SUMMARY_LIST. Assuming the file name is beneficiarySummaryClassicList.js

CWEH.registerHandler('BEN_SUMMARY_LIST', CWEC.CELL_CLICK, function(colId, colValue, rowData)
{
// Cell click logic goes here
}); 




  • No labels