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 | ||
---|---|---|
| ||
CWEH.registerHandler('WGT_SAVED', CWEC.CTAPPBEFOREINITIALIZE, function() { |
...
this.Type_Accordion = true; |
...
}); |
...
//Here, WGT_SAVED is the Widget ID and CTAPPBEFOREINITIALIZE is the event ID. |