Kendo UI version: v2015.3.930
AngularJS version: 1.4.7
JQuery version: 2.1.0
I have the following treeview defined in html:
<div kendo-tree-view k-options="kendoTreeOptions" k-rebind="kendoTreeOptions"></div>and it shows up fine. The initial load of data happens in the read of the HierarchicalDataSource. see attachment 1
The problem occurs when I try to load the children on demand. All that happens is that the arrow disappears (see attachment 2). In looking at the Chrome Network tool there is no request being made to get any children and no errors showing up in the console.
Here is the tree options I am using:
{ loadOnDemand: true, dataTextField: "title", dataImageUrlField: "imageUrl", dataSource: new kendo.data.HierarchicalDataSource({ transport: { read: { url: "../api/ctl1/getTreeData2", dataType: "json", type: "GET", data: () => { return { caseId: !this.treeHasSelectedNode() ? null : this.getSelectedNodeCaseId(), entityId: !this.treeHasSelectedNode() ? null : this.getSelectedNodeKey(), location: !this.treeHasSelectedNode() ? null : this.getSelectedNodeLocation(), createdById: !this.treeHasSelectedNode() ? null : this.getSelectedNodeOwnerId(), isDraggableDroppable: !this.treeHasSelectedNode() ? null : this.getSelectedNodeIsDraggableDroppable(), }; } }, schema: { model: { hasChildren: "hasChildren", children: "children", id: "key" } } }, requestStart: (e) => { console.log("request started"); }, requestEnd: (e) => { var response = e.response; var type = e.type; console.log(type); console.log(response); } })}and here is what my initial data load is:
[{ "$type": "TreeItem", "unselectable": false, "extraClasses": null, "nodeType": null, "customObject": { "entityType": "Case", "location": "", "owner": "1000", "caseId": "1", "isDraggableDroppable": "False" }, "title": "p1", "tooltip": null, "key": "1:1:1", "lazy": true, "expanded": false, "selected": false, "children": [], "folder": true, "hideCheckbox": false, "data": null, "path": null, "refKey": null, "parentId": "-1", "imageUrl": "../app/images/folder_standard.png", "hasChildren": true}, { "$type": "TreeItem", "unselectable": false, "extraClasses": null, "nodeType": null, "customObject": { "entityType": "User", "location": "//trtr/Share/dfas/fasdf/1000", "owner": "1000", "caseId": "", "isDraggableDroppable": "True" }, "title": "My Dropspace", "tooltip": null, "key": "0:-25:", "lazy": true, "expanded": false, "selected": false, "children": [], "folder": true, "hideCheckbox": false, "data": null, "path": null, "refKey": null, "parentId": "-1", "imageUrl": "../app/images/folder_standard.png", "hasChildren": true}, { "$type": "TreeItem", "unselectable": false, "extraClasses": null, "nodeType": null, "customObject": { "entityType": "User", "location": "", "owner": "1000", "caseId": "", "isDraggableDroppable": "True" }, "title": "Shared with me", "tooltip": null, "key": "0:-50:", "lazy": false, "expanded": false, "selected": false, "children": null, "folder": true, "hideCheckbox": false, "data": null, "path": null, "refKey": null, "parentId": "-1", "imageUrl": "../app/images/folder_standard.png", "hasChildren": false}]Am I doing something wrong? Isn't the HierarchicalDataSource supposed to handle getting the children data for me?
Hi,
is it wanted like that?
kind regards
Is there a way to get only the value of the last selected or removed item?
Also there is an even "select" but there is no event "remove"
Thank you for help
Hi,
I'm stuck with the tabbed navigation part. I want to create a new tab on click of a button(whose name is editable). And on creation of new tab, it should display the same empty table(created using Kendo Grid). I tried to do like http://dojo.telerik.com/iGIqE. But, it did not work.
Please find my js fiddle I've created, below.
https://jsfiddle.net/aravind_93/ope4ojtg/
In short, I would like to add new tab on click, whose tab name is editable, which should display empty grid table I've already created. Please advice me on how to do this. (I had tried to integrate Grid inside TabStrip..)
Thank you.
Hello,
I want to get the event when a change is made to the Task.
For example, start, end, it's Field will change the timing of such parentId.
Is there any way?​
I am using Kendo v 2015.2.624 to create a mobile first website. We are using the MVC Kendo Grid with multiselect filters instead of the default filter configuration. This functionality works as expected on all web browsers including Safari on Mac. The only exception is the iPad. The iPad will expand the filters but won't allow the user to click a filter option nor will it collapse the filter menu. I have attached a couple of screen shots to see if any suggestions could be offered as to what could be the problem.