bricks/examples/tree.json

211 lines
3.2 KiB
JSON
Raw Normal View History

2023-09-14 10:28:07 +08:00
{
"widgettype":"Tree",
"options":{
"idField":"id",
"textField":"text",
"data":[
{
"id":1,
"text":"node1",
"is_leaf":false,
"children":[
{
"id":11,
"text":"node11",
"is_leaf":false,
"children":[
{
"id":112,
"text":"node.12",
"is_leaf":false,
"children":[
{
"id":1112,
"text":"node1112",
"is_leaf":true
},
{
"id":1113,
"text":"node113",
"is_leaf":true
}
]
},
{
"id":113,
"text":"node113",
"is_leaf":true
}
]
},
{
"id":12,
"text":"node12",
"is_leaf":true
},
{
"id":13,
"text":"node13",
"is_leaf":true
2024-02-25 12:31:02 +08:00
},
{
"id":14,
"text":"node14",
"is_leaf":true
},
{
"id":15,
"text":"node15",
"is_leaf":true
},
{
"id":16,
"text":"node16",
"is_leaf":true
},
{
"id":17,
"text":"node17",
"is_leaf":true
},
{
"id":18,
"text":"node18",
"is_leaf":true
},
{
"id":19,
"text":"node19",
"is_leaf":true
},
{
"id":20,
"text":"node20",
"is_leaf":true
},
{
"id":21,
"text":"node21",
"is_leaf":true
},
{
"id":22,
"text":"node22",
"is_leaf":true
},
{
"id":23,
"text":"node23",
"is_leaf":true
},
{
"id":24,
"text":"node24",
"is_leaf":true
},
{
"id":25,
"text":"node25",
"is_leaf":true
},
{
"id":26,
"text":"node26",
"is_leaf":true
},
{
"id":27,
"text":"node27",
"is_leaf":true
},
{
"id":28,
"text":"node28",
"is_leaf":true
},
{
"id":29,
"text":"node29",
"is_leaf":true
},
{
"id":30,
"text":"node30",
"is_leaf":true
},
{
"id":31,
"text":"node31",
"is_leaf":true
},
{
"id":32,
"text":"node32",
"is_leaf":true
},
{
"id":33,
"text":"node33",
"is_leaf":true
},
{
"id":34,
"text":"node34",
"is_leaf":true
},
{
"id":35,
"text":"node35",
"is_leaf":true
},
{
"id":36,
"text":"node36",
"is_leaf":true
2023-09-14 10:28:07 +08:00
}
]
},
{
"id":2,
"text":"node2",
"is_leaf":false,
"children":[
{
2024-02-25 12:31:02 +08:00
"id":221,
"text":"node221",
2023-09-14 10:28:07 +08:00
"is_leaf":true
},
{
2024-02-25 12:31:02 +08:00
"id":222,
"text":"node222",
2023-09-14 10:28:07 +08:00
"is_leaf":true
},
{
2024-02-25 12:31:02 +08:00
"id":223,
"text":"node223",
2023-09-14 10:28:07 +08:00
"is_leaf":true
}
]
},
{
"id":3,
"text":"node3",
2024-02-25 12:31:02 +08:00
"is_leaf":false,
"children":[
{
"id":"3-1",
"text":"node3112",
"is_leaf":true
},
{
"id":"3-2",
"text":"node313",
"is_leaf":true
}
]
2023-09-14 10:28:07 +08:00
}
]
}
}