문제

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?

도움이 되었습니까?

해결책

Yup I was right, This is reported in gwt issue tracker.

Bug Id 7804

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top