Programmatically set table focus

Tags: #<Tag:0x00007efc653b8b58> #<Tag:0x00007efc653b8a18>

Is it possible to set focus on table programmatically?

I want to be able to edit table cells after other parts of the application that has focus are done, without having to click the table with the mouse or tab until it’s active.

Thanks!

Hi @mottosson

Setting the table focus programatically isn’t available through our API out of the box. One of the options that could possible work is to do this with custom logic. However, I haven’t seen anyone trying that so far so I can’t tell for sure if that would work as per your requirement.

Is that something you’d concider adding? It would be tremendously useful to me.

As I mentioned in one of the other topics recently, we will improve overall focus within Handsontable soon so there’s a chance that it will be also fixed then.

Crossing my fingers! Thanks