JavaScript
A5.ListBoxupdateLayout Method
Syntax
A5.ListBox.updateLayout(layout,settings[,keepValue])
Arguments
- layoutstring
The name of the layout to show in the list.
- settingsobject
The settings to apply to the layout.
- keepValueboolean
Whether or not to keep the previous value of the list, or reset it.
Description
Change the currently used layout.
Example
// To get a pointer to the A5.ListBox class see {dialog.object}.getControl // assume lObj is a pointer to an instance of the A5.ListBox class lObj.updateLayout('sub1',{template: '{name}, {age}'}); // update the template of the layout named "sub1"