How to Hide the Dojo Tree Node

Dojo Toolkit is a commercial software toolkit that allows Web developers to integrate complex JavaScript applications into their websites. JavaScript is a scripting language commonly used to add interactivity to webpages. A Dojo tree is a hierarchical structure that contains data organized into categories, all of them derived from a single node, or root. For example, the categories "banana," "apple" and "strawberry" would all derive from the "fruits" node. To hide the node but keep the categories visible, edit the source code of your webpage.

Instructions

    • 1

      Open the Notepad text editor and select the "File" menu. Select "Open" and open the file that contains the JavaScript code you want to edit.

    • 2

      Add the following parameter inside your Dojo tree declaration:

      showRoot=false

      If you are declaring the Dojo tree inside a DIV tag, place that parameter inside the tag.

    • 3

      Click on "File" and select "Save."

Related Searches:

References

Comments

Related Ads

Featured