Versions Compared

Key

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



To hide columns in the widget, you must use the hiddenColumns property. The following is a sample code snippet:

Code Block
languagejs
CWEH.registerHandler('CT_ACC_SUMMARY_WGT', CWEC.CTAPPBEFOREINITIALIZE, function()
{

...


	this.hiddenColumns = ['ACCOUNT_NO'];

...


});

...

 
//Here, CT_ACC_SUMMARY_WGT is the Widget ID and CTAPPBEFOREINITIALIZE is the event ID.


The following screenshots show a sample widget in the CTModelHouse mobile application. Here, the Account Number column is hidden. The important thing to note here is that the hidden Account Number column is displayed when you expand the row in the widget.

Image Modified