Filtering on tabledata columns

When I enter a search value on a table header having {content:“textFilter”}, filtering works find, but the search field lose keyboard focus. As a consequence, I can’t adjust the filtering value without a mouse action, and worse: typing backspace trigger the browser back action. Is this a normal behavior ?
I also really miss a ESC handling to empty the search value and restore the full table visibility.

Regards

The focus problem seems to be related to adjust:true in column definitions. With non adjustable columns, the search field keeps keyboard focus.

Re-adjustiing data will result in repainting the datatable. As result, the focus will be lost, so it’s a normal behavior.

As a workaround, you can adjust needed columns only after initial data loading:

http://webix.com/snippet/043bd820

If I can suggest something: this is a point that should be adressed by the widget itself. From a user point of view, this is really disturbing. From a coder point of view, this requires unnecessary extra coding.
How can I trigger a focus restore when the table rebuild/repaint is done ? Is there a callback/event mechanism that would work for that that could be used to set the focus back ?
Regards,

It’s not possible to set the focus manually, but you can get the needed behavior by adjusting column through the onAfterRender event:

http://webix.com/snippet/3f222ea5