When i want to edit a textinputcell, i generally need two clicks : the first click gives focus to the cell and then to the input.
I have a celltable with 20 columns, all textinputcell - excel style. And this problem makes it totally unusable.
Here's a code sample :
FieldUpdater<MyBean, String> fieldUpdater = new FieldUpdater<MyBean, String>() {
@Override
public void update(int index, MyBean object, String value) {
object.setValue(value);
}
};
Column<MyBean, String> column = new Column<MyBean, String>(new TextInputCell()) {
@Override
public String getValue(MyBean object) {
return objet.getValue();
}
};
column.setFieldUpdater(fieldUpdater);
table.addColumn(column, "Col");
Did you have to face the problem ? Is there a know solution ?
Thanks