Above code contains hardcoded id of the datatable, but you will want to have the effect for the active datatable only, right ?
You can do it like next http://webix.com/snippet/738474f1
By using third parameter of addHotKey you limit event handler for datatable’s only. And by using view parameter you are applying the logic for currently active datatable only.
Actually you can use the above code in your case.
Code in the snippet adds the new hotkey for ALL instances of datatable, already created and those that will be created after that. It doesn’t really matter where they are placed.
It seem addHotKey can’t be used for F1-F12 keys
You can use a bit more complicated code with onKeyPress handler, or just wait for the next Webix update - where you will be able to use the same code as for Enter key to handle functional keys.