Event Handling in Tree

How we can attached events to the tree when tree is initialized using HTML list (Using

  • and
      tags). All examples given which shows event handling are initialized using XML data file. Please help me to solve this problem with a proper example.

      Regards,
      Yasantha

  • You can get dhtmlxTree object with following code:

    var myTree = dhtmlXTreeFromHTML(‘listBox’);

    and then attach event:

    myTree.attachEvent(…