Связывание вложенного дерева с помощью jqWidget jqxTree - PullRequest
0 голосов
/ 30 апреля 2020

Как динамически связать jqxTree jqWidget в MVC.

Json пример: [{"Type": "grdparent1", "name": "grdparent1", "children": [ {"Type": "grdparent1", "Id": 45, "children": []}, {"Type": "grdparent1",
"Id": 46, "children": [{"Type" : "parent1", "Id": 54, "children": [{"Type": "child1", "Id": 63, "children": []}, {"Type": "child2", "Id ": 64," children ": []}]}, {" Type ":" parent2 "," Id ": 57," children ": []}]}]}, {" Type ":" grdparent2 ", "name": "grdparent2", "children": [{"Type": "grdparent2", "Id": 4, "children": [{"Type": "parent1", "Id": 16, "children" ": [{" children ": []," Type ":" child1 "," Id ": 28,}]}, {" Type ":" parent2 "," Id ": 17," children ": [] }]}]}, {"Type": "grdparent3", "name": "grdparent3", "children": []}, {"Type": "grdparent4", "name": "grdparent4", "children ": [{" Type ":" parent1 "," Id ": 167," children ": []}]}];

...