TREE Tutorial in Dojo (2)

Continued from the previous article.

After four hours of hard work, cbtree is basically done. The prototype is basically completed, and the code is posted here.

Before posting the code, let’s take a picture.

Basic use of cbtree:

   My JSP'treeTest.jsp' starting page        
not selected < div class="leftTree" id="leftTree">
< /td>
selected

Key point: You must pay attention to the css in the above picture, cbtree needs to quote its own css, if it is not quoted, the checkbox may not be displayed. This is my experience, and it wasted me almost three hours.

Leave a Comment

Your email address will not be published.