View Full Version : Textfield losing focus after working with grid data

21 Mar 2011, 7:47 AM
Hi :)
I have a form with an editor grid panel and a textfield(a text field and below it the grid).
In the grid's cells there are inner text fields.
When I am editing the values of one of the inner grid's text fields and then trying to focus on the outer textfield(by clicking on it), the text field recieves focus for a splint second and then loses focus:s
This happens only when I am editing the values of the textfield's inside the grid....
How can I fix this?

21 Mar 2011, 9:07 AM
Hi we have a grid and detail form on the same panel and we're seeing the same behavior.
Has this problem been resolved?


21 Mar 2011, 1:40 PM
Can someone help?? :-/

3 Oct 2013, 5:49 AM
I've got the same problem, is there any fix ?

3 Oct 2013, 8:07 AM
I've found the solution.
I've just forgotten the following line :

grid.setSelectionModel(new CellSelectionModel<MyModel>());

And it fix the problem.