Versions Compared

Key

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

To manually configure Accordion layout for a multi-tab widget, you must set the 'Type_Accordion' property to 'true'. A sample code snippet is provided for your reference:

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

...


	this.Type_Accordion = true;

...


});

...

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


Image Modified