Hi,
Facing issue with TreeView with angular1. PSB code.
Problem: When i try to model my JSON for Checkbox Tree doesn't bind my attribute named "children" may be because the property name same!
Expected: As we change kendo default "text" property to custom "dataTextField", How can i replace "items" to "children"
HTML:
<div kendo-tree-view="tree" k-data-source="dataSource" k-options="options" k-on-change="selecteditem=dataItem"> </div>
Angular:
 var schemaTree = {
        	model: {
          	//children: "items"
            children: "children"
          }
        };
        $scope.options = {
         dataTextField: "name",
          
          checkboxes: {
            checkChildren: true,
            template: "<input id='checkbox_#:item.uid#' ng-model='dataItem.isChecked' type='checkbox' class='k-checkbox'/><label for='checkbox_#:item.uid#' class='k-checkbox-label'></label>"
          },
          
          template: "#: item.name #"
        };
        $scope.treeData = [
          {
            "name": "Alex's family tree",
            "isChecked":true,
            "id": 44,
            "items": [
              {
                "id": 1,
                "name": "Reef",
                "isChecked": true
              },
              {
                "id": 2,
                "name": "Coraline",
                "isChecked": true
              }
            ],
            "children": [
              {
                "id": 1,
                "name": "Reef",
                "isChecked": true
              },
              {
                "id": 2,
                "name": "Coraline",
                "isChecked": true
              }
            ]
          }
        ];
        
        $scope.dataSource = new kendo.data.HierarchicalDataSource({
        		data : $scope.treeData,
          	schema: schemaTree
        });
Please let me know if you need more info on the same. Any help will be appreciated.
Regards,
Harish

