I need to show Hierarchical data in Listview with filtering enabled; I am not sure how to approach it. Here is sample data:
Level 5
-Level 5 item1
- Level 4
-Level 4 item 1
-Level 3
-Level 3 item1
- Level 3 item 2
-Level 4 item 2
-Level 5 item2
Online demo example shows similar data, but its calling a service to get the data, depending on parent. Online demo
I don’t have a service yet, trying to implement this using local data, but not having any luck. Also, is the service code used by online demo’s available on github? I want to see how service methods are implemented.
Don’t think I need multiple listview controls since structure of each level data is same.
Will appreciate if you can point me to working sample.
Thanks!
<span class="k-widget k-tooltip k-tooltip-validation k-invalid-msg" data-for="Impact" role="alert">
<span class="k-icon k-warning"> </span> Impact is required
</span><span class="k-widget k-tooltip k-tooltip-validation k-invalid-msg" data-for="Impact" role="alert">
<span class="k-icon k-warning" title="Impact is required"> </span>
</span>
upload: function (e) { var xhr = e.XMLHttpRequest; if (xhr) { xhr.addEventListener('readystatechange', function (event) { if (xhr.readyState == 1) { xhr.withCredentials = false; xhr.setRequestHeader("Authorization", "Bearer " + token); xhr.crossDomain = true; } }); }}xhr.open("POST", url, true);xhr.withCredentials = "true";xhr.send(data);xhr.withCredentials = true;xhr.open("POST", url, true);xhr.send(data);<a data-rel="modalview" href="#myModalView?someParam=123" data-role="button">Open MV </a>