Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

jQuery EasyUI Tree Menu - Adding Nodes to a Tree Menu

jQuery EasyUI Tree Menu - Adding Nodes to a Tree Menu

This tutorial shows you how to append nodes to a Tree menu. We will create a food tree with fruit and vegetable nodes, and then add some other fruits to an existing fruit node.

Creating the food tree

First, we create the food tree, as shown in the following code:



    
        
        

    Note that the Tree component is defined in