d.add(0,-1,'My example tree');
d.add(1,0,'Node 1','example01.html');
d.add(2,0,'Node 2','example01.html');
d.add(3,1,'Node
1.1','example01.html');
d.add(4,0,'Node 3','example01.html');
d.add(5,3,'Node 1.1.1','example01.html');
这个暂时只分了二级 ,三四级要怎么往下写呢,前面那两个数要怎么写吖,求大神教
java:我准备用dtree做一个树形菜单,可是我需要分四级,网上看的一级二级都简单,三四级要怎么写呢
答案:2 悬赏:0
解决时间 2021-03-07 08:12
- 提问者网友:他的思颖
- 2021-03-06 17:27
最佳答案
- 二级知识专家网友:你把微笑给了谁
- 2021-03-06 18:54
d.add(6,5,'Node 1.1.1.1','example01.html');
d.add(7,6,'Node 1.1.1.1.1','example01.html');
d.add(7,6,'Node 1.1.1.1.1','example01.html');
全部回答
- 1楼网友:哭不代表软弱
- 2021-03-06 19:29
任务占坑
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯