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

TreeList keyboard navigation

8 Answers 104 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Paul-Erik
Top achievements
Rank 1
Paul-Erik asked on 09 Jan 2015, 05:32 PM
I've been trying to get the treelist to respond to keyboard events similar to setting "navigatable" to true in the grid. However, there doesn't seem to be an option for allowing this, making it impossible to navigate the treelist through the keyboard.
As a workaround I tried binding keypress or keydown to try to implement this myself but neither of these events seem to fire (they seem to be absorbed immediately by the treelist).
Is there an option to allow for keyboard navigation or, if not, is there a workaround I could apply?

8 Answers, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 13 Jan 2015, 09:15 AM

Hello Paul-Erik,

The TreeList widget doesn't have support for keyboard navigation currently.You can submit feature requests on UserVoice.

Regards,
Nikolay Rusev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Paul-Erik
Top achievements
Rank 1
answered on 13 Jan 2015, 04:02 PM
And there is no ability to bind to keypress events yourself? Or another workaround?
0
Nikolay Rusev
Telerik team
answered on 15 Jan 2015, 08:02 AM

Hello Paul-Erik,

There isn't currently built-in support for keyboard navigation as in the Grid, but you can always use jQuery or anything else to implement it by your self.

Regards,
Nikolay Rusev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Paul-Erik
Top achievements
Rank 1
answered on 15 Jan 2015, 01:53 PM
Hi Nikolay,

I tried that, but I cannot find a way to bind the key events. It seems like the key events don't even appear. Am I missing something?

Regards,
Paul-Erik
0
Nikolay Rusev
Telerik team
answered on 19 Jan 2015, 09:35 AM

Hello Paul-Erik,

Here is some basic skeleton on left/right keyboard navigation similar to what we have in the Grid widget.

http://dojo.telerik.com/@rusev/oNObO

Regards,
Nikolay Rusev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Paul-Erik
Top achievements
Rank 1
answered on 19 Jan 2015, 03:38 PM
Hi Nikolay,

Thanks. That seems to work, although it needs to take into account the hidden columns (which the example doesn't deal with). Will play with this and see if I can get it to work.

Paul-Erik
0
Aakash
Top achievements
Rank 1
answered on 17 Jul 2017, 03:22 PM

Hi Nikolay,

 

I just wanted to confirm that currently the kendo treelist widget (http://demos.telerik.com/aspnet-mvc/treelist) does not support keyboard navigation. Could you let me know if that is not correct.

Regards,

Aakash

0
Stefan
Telerik team
answered on 19 Jul 2017, 10:14 AM
Hello Aakash,

I can confirm that currently, the Kendo UI TreeList does not support a keyboard navigation.

Still, this feature is in our short term To-Do list and the team is already started working on the requirements. Please have in mind that this is a very complex feature due to the hierarchy of the widget, and the ETA of the feature may vary.

Regards,
Stefan
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data (charts) and form elements.
Tags
TreeList
Asked by
Paul-Erik
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Paul-Erik
Top achievements
Rank 1
Aakash
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or