Reputation:
When I use KeyboardSelectionPolicy.DISABLED for TextInputCell in a celltable, the events are not fired correctly and hence FieldUpdater is not called at all the times.
My code snippet looks like this
CellTable<String> cellTable = new CellTable<String>();
cellTable.setKeyboardSelectionPolicy(KeyboardSelectionPolicy.DISABLED);
Column<String, String> column = new Column<String, String>(new TextInputCell()) {
@Override
public String getValue(String object) {
//Do something
}
};
column.setFieldUpdater(new FieldUpdater<String, String>() {
@Override
public void update(int index, String object, String value) {
//Do something
}
});
cellTable.addColumn(column);
Am I the only one facing this problem or am I doing anything wrong?
Upvotes: 3
Views: 293
Reputation: 3380
Yup I was right, This is reported in gwt issue tracker.
I found out this when I was tracking known IE issues for gwt.
I haven't tried out this yet, but it is reported. I will lookout for the issue tracker if I were you.
Upvotes: 2