Tree: Inline XML and onClick event

Do have as much control over appearence and events using inline XML as I would if load XML from a file? I am having a problem getting the onClick event to work with inline XML, and I don’t think my script below to create the tree object and specify the onClick event handler is working. Here’s my code. What is wrong with it?













    Test Investor Reports page











    









    





    

        



            

        

    





    

    


        

        

                

                    

                    

                

                

                

                    

                    

                

                

                

                    

                

                

                

                

                

                

                

                

                

                

                

            

        

    


    

    

            


    

    





a) remove class=“dhtmlxTree” to prevent double initialization
b) replace
tree=new dhtmlXTreeObject(“treeboxbox_tree2”,“100%”,“100%”,0);
with
tree=new dhtmlXTreeFromHTML(“treeboxbox_tree2”);

You might like to update the documentation on inline XML. I have had the same frustrating problem until finally finding this post.


Hello,


it seems that there is no issue in the documentation… Please, take a look:


dhtmlx.com/docs/products/dhtmlxT … _html.html