...
Code Block |
---|
|
CWEH.registerHandler('WS_DESIGNER_APP'"<WIDGET_ID>", CWEC.CELL_CLICK, function(argumentscolId, colVal, record)
{
console.log(arguments);// Implementation specific code
}) |
This handler is applicable only for different types of grid views, chart apps and tree/org apps. This event occurs when the user double-clicks on a cell or area on the app.
Code Block |
---|
|
CWEH.registerHandler('WS_DESIGNER_APP'"<WIDGET_ID>", CWEC.CELL_DBLCLICK, function(argumentscolId, colVal, record)
{
console.log(arguments);// Implementation specific code
}) |
This handler is applicable only for LIST and Live Scroll Grid with Cache views. This event occurs when the user changes the preference.
Code Block |
---|
|
CWEH.registerHandler('WS_DESIGNER_APP'"<WIDGET_ID>", CWEC.PREF_CHNG, function(arguments)
{
console.log(arguments);
}) |
...
// Implementation specific code
}) |
This handler is applicable only for the grid views and occurs when the user right-clicks on any data or cell in the grid.
Code Block |
---|
|
CWEH.registerHandler("<WIDGET_ID>", CWEC.CONTEXT_CLICK, function(config)
{
// Implementation specific code
}); |
The Context Menu Handler Registry (CMHR) handles the action triggered by the context-menu event that are applicable only for the grid views. This event occurs when the user right-clicks on any data or cell in the gridclicks a specific option in the context-menu.
Code Block |
---|
|
CMHR.registerHandler("<WIDGET<MENU_ID>", function(config)
{
var rowData = config.record.data;
}); |
...
Code Block |
---|
|
CWEH.registerHandler('WS_DESIGNER_APP'"<WIDGET_ID>", CWEC.DRILL_DOWN, function(arguments)
{
console.log(arguments);// Implementation specific code
}) |
This handler is applicable for all the views. This event occurs when the user clicks on the buttons, which is displayed in the app button bar.
Code Block |
---|
CWEH.registerHandler('WS_DESIGNER_APP'"<WIDGET_ID>", CWEC.BBAR_BUTTON_CLICK, function(arguments)
{
console.log(arguments);// Implementation specific code
}) |
This handler is applicable only for ORG view. This event occurs when the user clicks on any node in the organization chart view.
Code Block |
---|
|
CWEH.registerHandler('WS_DESIGNER_APP'"<WIDGET_ID>", CWEC.NODE_CLICK, function(arguments)
{
console.log(arguments);// Implementation specific code
}) |
Info |
---|
If you are using CT 18.1, use ROW_CLICK event instead of NODE_CLICK for Org view as follows: |
...
Code Block |
---|
|
CWEH.registerHandler('WS_DESIGNER_APP'"<WIDGET_ID>", CWEC.ROW_CLICK, function(arguments)
{
console.log(arguments);// Implementation specific code
} |
This handler is applicable only for ORG view. This event occurs when the user clicks on the line joining the two nodes in the organization chart view.
Code Block |
---|
CWEH.registerHandler('WS_DESIGNER_APP'"<WIDGET_ID>", CWEC.FLOW_CLICK, function(arguments)
{
console.log(arguments);// Implementation specific code
}) |
This handler is applicable for all the views. This event occurs when the user expands or maximizes the app.
Code Block |
---|
CWEH.registerHandler('WS_DESIGNER_APP'"<WIDGET_ID>", CWEC.EXPAND, function(arguments)
{
console.log(arguments);// Implementation specific code
}) |
This handler is applicable only for LIST, GROUP and PAGING views. The event occurs when the user selects one or more records on the grid.
Code Block |
---|
|
CWEH.registerHandler('WS_DESIGNER_APP'"<WIDGET_ID>", CWEC.HIGHLIGHT, function(arguments)
{
console.log(arguments);// Implementation specific code
}) |
This handler is applicable for all the views. This event occurs while initializing the view of the app.
Code Block |
---|
|
CWEH.registerHandler('WS_DESIGNER_APP'"<WIDGET_ID>", CWEC.SWITCH_VIEW_CHANGE, function(arguments)
{
console.log(arguments);// Implementation specific code
}) |