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

Version 1 Current »

To display all the columns of the dataset in the widget, you must use the defaultColumns property. The following is a sample code snippet:
CWEH.registerHandler('CT_ACC_SUMMARY_WGT', CWEC.CTAPPBEFOREINITIALIZE, function(){
this.defaultColumns = "ALL";
});
//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. You can see that the widget instead of the default two columns for a record, displays all the columns, such as Account Number, Account Type, Available Balance, Currency, and Status. You can also notice in the screenshot that the other records in the dataset are displayed one below the other.

  • No labels