How to expand list to a select a node automatically?

How can I set the initial tree node automatically so it’s expanded and highlighted also. I’m created the tree via html like so.

  • Root1
  • Root2
  • Root3
    • Child1
      • Child 1-1
    • Child2
    • Project
        <li><b>Bold</b> <i>Italic</i></li>
    </ul>
    </li>
    

It can be done only with API:

var myTree = dhtmlXTreeFromHTML('listBox'); myTree.openItem(itemId)