onSelect doesn't include keyCode properties

2 posts, 0 answers
  1. Peter
    Peter avatar
    58 posts
    Member since:
    Jan 2014

    Posted 11 Aug 2014 Link to this post

    I was hoping to detect whether ctrlKey was pressed from the event object passed to the onSelect event, but I can't find it anywhere.
    Is it being stripped on purpose or is it hiding somewhere?
  2. Kiril Nikolov
    Kiril Nikolov avatar
    2596 posts

    Posted 13 Aug 2014 Link to this post

    Hello Peter,

    The ctrlKey property is not passed to the select event of the PanelBar, but only the currentTarget property of the event argument of the click. This is why you are not able to see the ctrlKey property available. As such functionality is not available built-in, you can modify the source code in order to extract the required property.

    Kiril Nikolov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top