keytable how to make a cell gain focus upon mouse click
keytable how to make a cell gain focus upon mouse click

I am using they keytable extention. Initialization and setting initial focus on a cell is working, and I can move focus about fine using the arrow keys. Clicking on a cell with the mouse does nothing - how do I enable mouse click to make a cell gain focus using keytable? It looks like it maybe should be automatic, but it is not working for me, so is there a way to enable that?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
The basic example works.
https://datatables.net/extensions/keytable/examples/initialisation/simple
It's impossible to know what you have done without seeing your code.
There was another function that set the click event for items in the table. Initially, I just removed that click event since I did not want to have to modify third party code. Instead, I disabled the initial assignment of the click event in the third party code, and now and it works fine. Thank you