control.updateLevel2ToggleDisplay()
- Last UpdatedJun 25, 2024
- 1 minute read
Use control.updateLevel2ToggleDisplay() to update toggle values for a hierarchical list at the second level.
Syntax
control.updateLevel2ToggleDisplay(enable, visible);
Parameters
|
Parameter |
Description |
|---|---|
|
enable |
Enable or disable the slide-toggle.
|
|
visible |
Show or hide the slide-toggle.
|
Return Value
None.
Example
//Enable and show the slide-toggle for hierarchical list at the second level.
control.findByXmlNode("Hierarchicallist1").updateLevel2ToggleDisplay(true,true);