onSelect doesn't include keyCode properties

2 posts, 0 answers
  1. Peter
    Peter avatar
    44 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
    Admin
    Kiril Nikolov avatar
    2564 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.

    Regards,
    Kiril Nikolov
    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
Back to Top