Tree with multiple level
Is it possible to create tree with multiple level ?
like this :
- a
- a1
a21
a22
Thanks
like this :
- a
- a1
a21
a22
Thanks
Karine
December 29,
var tree = {
0: [1, 2, 3],
1: [4],
2: [7],
3: [8],
4: [5,6],
}
var obj = new AW.UI.Tree;
obj.setItemText(["", "A", "B", "C", "A1", "A11", "A12", "B1", "C1"]);
obj.setViewCount(function(i){return tree[i] ? tree[i].length : 0});
obj.setViewIndices(function(i){return tree[i]});
document.write(obj);
This topic is archived.
ActiveWidgets is a javascript library for creating user interfaces. It offers excellent performance for complex screens while staying simple, compact and easy to learn. Deployed by thousands of commercial customers in more than 70 countries worldwide.
Copyright © ActiveWidgets 2021