This is a migrated thread and some comments may be shown as answers.

Populating a Kendo GridView by selecting Treeview

1 Answer 158 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Mohsin
Top achievements
Rank 1
Mohsin asked on 09 Oct 2015, 02:47 PM

Hello, I have recently downloaded the Kendo MVC toolkit planning to get it implemented for web app. I am confused not good with Jquery. In have used HTML decode function to pass a string data to the view. Where I decode it like @Html.Raw(WebUtility.HtmlDecode(Model.GetTreeLists())) inside a div and simple pass the id to Kendotreeview like

$("#treeData").kendoTreeView({
});

Now I have also a Kendo grid on a same view and I would like to populate the grid by selecting a record inside my treeview any suggestions would be appreciated..

1 Answer, 1 is accepted

Sort by
0
Accepted
Boyan Dimitrov
Telerik team
answered on 13 Oct 2015, 01:43 PM

Hello Mohsin,

 

My suggestion would be to use the Kendo UI TreeView select event, which is fired when a node is selected. 

 

In the event handler you can find the Kendo UI Grid instance and manipulate it. Please refer to the Call Widget Methods and Bind to Widget Events article. 

 

Regards,
Boyan Dimitrov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
TreeView
Asked by
Mohsin
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or