Hi, everybody.
I have a page composed by an editable listgrid and a form. The listGrid is created as follows:
And it has three handlers added: grid.addRowContextClickHandler(...), grid.addShowContextMenuHandler(...), grid.addCellContextClickHandler(...);
As you can see, only first column is editable. Well, my problem appears in IE (it works in other navigators):
For IE:
1) Click the grid.
1.a) Arrow of the Combo belonging to aField appears
2) Click over a text field in the form.
3) Start to write.
4) I write a blank space
4.a) The grid gets the focus in edition, the text field lost the focus.
For Firefox or Chrome:
1) Click the grid.
1.a) Arrow of the Combo belonging to aField appears
2) Click over a text field in the form.
3) Start to write.
4) When I write a blank space, :
4.b) The blank space is showing inside the text field.
I think behavior for IE is incorrect. There is any solution? What can I do for maintain focus in text field.
I am using GWT 2.6.0, JRE 1.6, Smartgwt 3.1 and smartgwt-skins 3.1.
Thanks in advance.
I have a page composed by an editable listgrid and a form. The listGrid is created as follows:
Code:
String AA = "Mea";
String BB = "Veg";
String CC = "Iqu";
ListGridField aField = new ListGridField("first", "Options", 40);
aField.setValueMap(AA, BB, CC);
aField.setCanEdit(true);
// person
ListGridFieldWrapper scField = new ListGridFieldWrapper("second", "Name", 200);
scField.setCanEdit(false);
// Addressee
ListGridFieldWrapper thField = new ListGridFieldWrapper("third", "Value");
thField.setWidth("*");
thField.setCanEdit(false);
grid.setFields(aField, scField, thField);As you can see, only first column is editable. Well, my problem appears in IE (it works in other navigators):
For IE:
1) Click the grid.
1.a) Arrow of the Combo belonging to aField appears
2) Click over a text field in the form.
3) Start to write.
4) I write a blank space
4.a) The grid gets the focus in edition, the text field lost the focus.
For Firefox or Chrome:
1) Click the grid.
1.a) Arrow of the Combo belonging to aField appears
2) Click over a text field in the form.
3) Start to write.
4) When I write a blank space, :
4.b) The blank space is showing inside the text field.
I think behavior for IE is incorrect. There is any solution? What can I do for maintain focus in text field.
I am using GWT 2.6.0, JRE 1.6, Smartgwt 3.1 and smartgwt-skins 3.1.
Thanks in advance.