I am trying to bind a kendo grid with data from tree view node click. So when user clicks on node 'A' of tree view then grid should get populated with data corresponding to that node.
1. How do I update the grid data while traversing through tree. I am reading data from an array.
2. Is there a way to just update the data without recreating grid or resetting the grid.?
I have a kendo angular tree-view with flat data binding. There is a section for filtering the nodes with heterogenous data(search elements inside the treeview). Any update how to filter the nodes for flat data ?
I have to create the kendo ui tree list with two way data binding. I have try with the kendo grid which is working but for kendo tree list it is not working. Please let me know if i am missing anything.
Kendo grid example :- http://dojo.telerik.com/OvUxU/2
Kendo tree list example :- http://dojo.telerik.com/#vinay/arAwo
The TreeList is a bit different in this behavior due to how it process data related to load-on-demand. In order make this scenario work you should defined dataSource.data instead of directly dataSource as array.
Here is the updated example - http://dojo.telerik.com/#rusev/oJeho
I'm trying to use certain Bootstrap elements inside a Kendo Grid, it is Bootstrap dropdown buttons.The problem is the dropdown are always positioned below the row below or above. How can i find solution for this problem
I am using Kendo UI tree view with checkboxes. My problem is when i am loading the tree i will be checking some checkboxes using javascript. But this is not selecting parent checkbox automatically. Do i need to do this manually or is there any option in the framework.
Thanks,
Raja
Lets assume that you want to select the node that is selected:
// Get the node that is selected
var selected = treeview.select();
// Find the checkbox associated with this node
var checkbox = $("input[type='checkbox']", selected)[0];
// Click on it for selecting it and its ancestors
checkbox.click();
Being treeview the result of creating kendoTreeView:
var treeview = $("#my_tree").kendoTreeView({...}).data("kendoTreeView");
If you check the nodes by adding the 'checked' attribute with JavaScript
e.g.
$('input').attr('checked','checked')
you will need to handle the parent checking manually. However if you simulate click the TreeView will update its state as it would do if you have used the mouse to click.
e.g.
$('input').click();
Keep in mind you need to call the click on the checkbox input not the span element wrapping it.
Kendo ui (html5) treeview the position is reset to the begining of the tree.
when i bind the many records in the tree . when i select the last node the treeview position is reset to the begining of the tree.
This problem arises only in IE(Internet Explorer 9). in firefox and chrome it is working fine .
The image 1 shows the page that treeview reset to begining of the tree after selecting the tree node at the last record.
the image 2 shows the page that treeview node is selected at the botom