Focus cell in grid when calling the select method

Hi,

I’m programmatically selecting a row in a grid by calling the select method, and when I do that, I would like the focus to change to the selected row. Is there no way I can force focus in another cell and thereby set focus in the selected row?

Thanks,
Brian

What you are trying to do requires tweaking in the client side.

There is add-on improving Grid navigation, you may like to take look at it

https://vaadin.com/directory#!addon/gridfastnavigation-add-on

If your use case is totally different, you can still study the source code and try yourself

https://github.com/thinwire/GridFastNavigation/tree/master/GridFastNavigation-addon/src/main/java/org/vaadin/patrik

Thanks Tatu. I will have a look.