Use dojo’s Tree

Dojo’s Tree is very flexible, but there are few examples on the official website, and they are scattered. We will continue to improve this example in the future.

In general, to use tree, you

Dojo Tree’s use

tree is a fairly common component in the web, here we understand the tree in dojo.

require([‘dojo/json’,’dojo/text!./ data/countries.json’,’dojo/data/ItemFileReadStore’,’dijit/tree/ForestStor