TreeList keyboard navigation

9 posts, 0 answers
  1. Paul-Erik
    Paul-Erik avatar
    4 posts
    Member since:
    Dec 2014

    Posted 09 Jan 2015 Link to this post

    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?
  2. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2287 posts

    Posted 13 Jan 2015 Link to this post

    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!
     
  3. Paul-Erik
    Paul-Erik avatar
    4 posts
    Member since:
    Dec 2014

    Posted 13 Jan 2015 in reply to Nikolay Rusev Link to this post

    And there is no ability to bind to keypress events yourself? Or another workaround?
  4. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2287 posts

    Posted 15 Jan 2015 Link to this post

    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!
     
  5. Paul-Erik
    Paul-Erik avatar
    4 posts
    Member since:
    Dec 2014

    Posted 15 Jan 2015 Link to this post

    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
  6. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2287 posts

    Posted 19 Jan 2015 Link to this post

    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!
     
  7. Paul-Erik
    Paul-Erik avatar
    4 posts
    Member since:
    Dec 2014

    Posted 19 Jan 2015 in reply to Nikolay Rusev Link to this post

    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
  8. Aakash
    Aakash avatar
    2 posts
    Member since:
    Jul 2016

    Posted 17 Jul in reply to Nikolay Rusev Link to this post

    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

  9. Stefan
    Admin
    Stefan avatar
    1266 posts

    Posted 19 Jul Link to this post

    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 visualization (charts) and form elements.
Back to Top