Hi.
I'm trying to use angular-kendo framework and it seems pretty cool!
But I can't to make working treeview...
I use following angular controller:
and following template:
But it doesn't work... While other controls taken from sample angular-kendo framework like grid
work great.
This chunk of code also works:
What I'm doing wrong?
Thanks in advance.
I'm trying to use angular-kendo framework and it seems pretty cool!
But I can't to make working treeview...
I use following angular controller:
function HomeCtrl($scope) { $scope.things = {dataSource: [{ name: "Thing 1", id: 1 },{ name: "Thing 2", id: 2 },{ name: "Thing 3", id: 3 }]}}<div kendo-treeview <br> k-data-source="things" k-data-text-field="'name'" />work great.
This chunk of code also works:
<div id="treeview"></div><script>$("#treeview").kendoTreeView({ dataTextField: [ "name"], dataSource: [{ name: "Thing 1", id: 1 },{ name: "Thing 2", id: 2 },{ name: "Thing 3", id: 3 }]});</script>What I'm doing wrong?
Thanks in advance.