This is a migrated thread and some comments may be shown as answers.
Context Menu on TreeView Angular with Keyboard navigation
4 Answers 50 Views
This is a migrated thread and some comments may be shown as answers.
Narendra
Top achievements
Rank 1
Narendra asked on 25 Mar 2015, 08:31 PM
Hi,

We are using KendoUI Angular TreeView and we are showing the context menu on the tree view.
We want to enable keyboard navigation for this context menu, can somebody please point us to examples..?

code which shows treeview and context menu can be seen here

Thanks!!

Regards,
Narendra

4 Answers, 1 is accepted

Sort by
0
Narendra
Top achievements
Rank 1
answered on 25 Mar 2015, 08:57 PM
also how can we figure out, which node was clicked.?
0
Alexander Popov
Telerik team
answered on 27 Mar 2015, 03:25 PM
Hi Narendra,

I would recommend using the ContextMenu's open event to get the TreeView's dataItem as well as to set the focus. The latter will enable the keyboard navigation, as shown in this example.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Narendra
Top achievements
Rank 1
answered on 21 Apr 2015, 02:53 PM

Hi Alexander,

 

Thanks for your reply and my apologies for getting back to you late. The example you have given is nice and works well but even after referring to your example I am struggling to understand how can we show/trigger right click menu, any thoughts or pointers..?

 

Regards,

Narendra

0
Alexander Popov
Telerik team
answered on 23 Apr 2015, 08:51 AM
Hi Narendra,

In case you wish to programmatically show the ContextMenu, then I would suggest using its open method.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Asked by
Narendra
Top achievements
Rank 1
Answers by
Narendra
Top achievements
Rank 1
Alexander Popov
Telerik team
Share this question
or