I added the option .Navigatable() to my listView and wanted to add a event listener to the navigate function. But inside .Events(e => e...) there is no navigate event.
3 Answers, 1 is accepted
0
Georgi
Telerik team
answered on 23 Jun 2017, 12:19 PM
Hi Jan,
There is no navigate event in the Kendo ListView widget. You can get detailed information about available events in the ListView documentation:
You can log the navigate event as a feature request in our UserVoice portal, so others users can vote for it. Based on the traction we will consider implementing it in future release.
Well ... in the grid widget you also added the .navigatable() configuration and also the event http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#events-navigate
I dont want to add a feature request, I want a complete listView widget. Its a missing part of the "navigatable" module. It is also missing at the listbox widget http://docs.telerik.com/kendo-ui/api/javascript/ui/listbox#configuration-navigatable
0
Georgi
Telerik team
answered on 27 Jun 2017, 06:18 AM
Hello Jan,
Since navigate event is not available you can handle the keydown event. In the handler you can check if the target of the event is the Kendo ListView and if the key code is one of the codes of the arrow keys. Then you can perform additional custom logic required in your scenario.
The following dojo illustrates illustrates the aforementioned approach: