class Control.TreeList


Creates a collapsible tree out of an unordered list element.

Control ID: treelist

For the layout to work correctly, the list should be formatted like the following (note that the sub-list items FOLLOW the item they collapse under, rather than being inside the <li>):

<ul class="treelist">
    <li>Item 1</li>
    <li>Item 2</li>
    <ul id="submenu">
        <li>Item 3</li>
        <li>Item 4</li>

Example: Tree List demo


Instance methods

Instance properties