Put keyboard focus to Grid

Is it possible to put keyboard focus to Grid? I want the user to be able to navigate the grid with the keyboard just upon the load.

Doesn’t the normal focus() work? I haven’t tried it with Grid, but it’s a bug if it doesn’t work.

Not all Vaadin components have focus() :confused: However, programmatic focus for Grid is actually already implemented but will unfortunately not make it to 7.5. You could write a simple Extension to do it though.

The focus() method is protected, so I tried:

Grid myGrid = new Grid() { { focus(); } } but with no success…