Hi,
I was wondering if it was possible to disable keyboard node navigation for an igTree?
Thanks,
Armando
Hello Armando,
Thank you for using our community.
I would like to tell you that you can disable the keyboard navigation only through cancelling the events. What I mean is that there is no property that can be set to meet the desired functionality. What you can do is detect whether the navigation is done through a keyboard and cancel the particular event. Here is an example:
nodeExpanding: function(evt, ui){
if (evt.button === undefined) {
return false;
}
This code will disable the node expansion when you use the keyboard to navigate the tree. If you give more information about the reasons you need to disable the keyboard navigation I will be able to better assist you.
If you need further assistance on this case, don’t hesitate to contact me.
That will work, thanks! :)