I've put the following into your sample remote-data-binding.html:
<script>
$.getJSON(http://localhost:60084/....., function (data) {
tree = $("#treeview").kendoTreeView({
dataSource: kendo.observableHierarchy(data)
}).data("kendoTreeView");
});
</script>
Everything else untouched. When I refresh, the browser won't even try to access the url.
I also put some json in a local file, using id, text and items tags on my data, exactly as you advised in http://stackoverflow.com/questions/13286874/kendo-ui-treeview-and-json
if I use the file name instead of the url the page seems to access the file, but the tree is not loaded.
What am I missing?
<script>
$.getJSON(http://localhost:60084/....., function (data) {
tree = $("#treeview").kendoTreeView({
dataSource: kendo.observableHierarchy(data)
}).data("kendoTreeView");
});
</script>
Everything else untouched. When I refresh, the browser won't even try to access the url.
I also put some json in a local file, using id, text and items tags on my data, exactly as you advised in http://stackoverflow.com/questions/13286874/kendo-ui-treeview-and-json
if I use the file name instead of the url the page seems to access the file, but the tree is not loaded.
What am I missing?