Tree View key up event

Posted by: darkthanhtam on 11 October 2020, 7:46 pm EST

  • Posted 11 October 2020, 7:46 pm EST

    Hi,

    I can use keyboard UP, DOWN, RIGH, LEFT, ENTER, SPACE,... to control my tree view but I don't want this. I want to disable all keyboard event of my tree view. Can you help me?
    Here is the sample: https://jsfiddle.net/LaAsCE/bo6knxym/

    Regards.
  • Marked as Answer

    Replied 12 October 2020, 7:06 pm EST

    Hi, darkthanhtam,

    You can use the removeEventListener method to remove the keydown events from the TreeView. Please refer to the updated sample link below:

    https://jsfiddle.net/4y6cj3rx/7/

    Regards,
    Ashwin
  • Replied 13 October 2020, 5:13 pm EST

    Thanks, that's help a lot.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels