Auto Focus on Input

Hi, i have a modal window and i would like to auto focus on datatable textFilter when opened.

There is no native API, you can use something like next

$$("dtable").$view.getElementsByTagName("input")[0].focus();

This worked perfectly, thank you