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 Current »

To change the default number of columns that are displayed in the widget, you must use the defaultNumberOfColumns property. The following is a sample code snippet:

CWEH.registerHandler('CT_ACC_SUMMARY_WGT', CWEC.CTAPPBEFOREINITIALIZE, function()
{
	this.defaultNumberOfColumns = 3;
}); 
//Here, CT_ACC_SUMMARY_WGT is the Widget ID and CTAPPBEFOREINITIALIZE is the event ID. 

The following screenshot shows a sample widget in the CTModelHouse mobile application with three columns. Users can click the Expand (  ) icon to view the other columns of the record.

  • No labels