Is there any context menu functionality related to treeview control?
Do I have to use third party libs to do that (e.g, jquery ui), or there exists some ways to do that using kendoui controls?
3 Answers, 1 is accepted
answered on 17 Oct 2013, 01:57 PM
I am afraid that currently Kendo UI does not provide a context menu widget out of the box. You could, however, use Kendo UI to create a custom context menu, as demonstrated in this Code Library project.
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Alexander, I am using the Kendo Angular UI framework and the treeview control.
Do you have any examples of a treeview context menu that work with the Kendo Angular UI framework? I tried the link in your post, but was not able to get it to work. Of course Telerik should provide this functionality with the Kendo tree, as well as a simple way to get a node ID in the Kendo Tree control. I have a way of getting the ID, but the context menu is proving to be quite a challenge. Is an integrated context menu being planned for the Kendo tree? For now, I would certainly appreciate an example of a working treeview context menu.
answered on 15 Apr 2014, 12:36 PM
I am afraid that we do not have any examples matching this criteria, since Angular-Kendo is a community-driven project and is not included in the Kendo UI support suites (see Getting Help). Implementing a context menu is not planned at this point, however I would suggest submitting this as a feature request at our feedback portal, so we and other members of the community can evaluate, comment on and vote for it. Highly voted suggestions are often implemented in future Kendo UI releases.
Getting a node's ID could be achieved by passing a TreeView's node element to the dataItem method. For example: