Controlling the Open States
The DropDownTree enables you to control the state of its options list.
To set the state of the list:
You can also retrieve the current open state of the options list by using the
You can enable the user to manually toggle between the open and close state of the options list by setting the
toggle method. If set to
true, the method defines that the options list is open. If set to
false, the method defines that the options list is closed.
The following example demonstrates how to configure an initially opened DropDownTree.
The following example demonstrates how to prevent the closing of the options list.