开发者

Need suggestion on implement binary tree UI using Dojo

开发者 https://www.devze.com 2023-04-05 19:49 出处:网络
I have a binary tree data structure defined in ORM, and the data is stored in the database. Now I\'m going to code a interactive UI logic representing the Tree using Dojo. I\'m a newbie in Dojo area.

I have a binary tree data structure defined in ORM, and the data is stored in the database. Now I'm going to code a interactive UI logic representing the Tree using Dojo. I'm a newbie in Dojo area. Does anybody can give me suggestion which Dojo technique should I use for this purpose? I have looked at the Dojox.collections.BinaryTree, but it looks like a data structure in the Dojo Tool kit. What I want is some kind of widget then I just feed the data to it 开发者_StackOverflow中文版and then I can program


you can create Dojo tree very easily. Look Here: Dojo tree There are more examples here too: see here

When you fetch something from the database it would be good to convert it to JSON, in order to wrap the JSON into an ItemReadStore (see the examples I have posted)

0

精彩评论

暂无评论...
验证码 换一张
取 消