TreeList keyboard navigation

7 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
    2285 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. Kendo UI is VS 2017 Ready
  4. 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?
  5. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 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!
     
  6. 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
  7. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 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!
     
  8. 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
Back to Top
Kendo UI is VS 2017 Ready