【问题标题】:CHECKBOX Cell Event in GWT is not working in updated chrome?GWT 中的 CHECKBOX 单元格事件在更新的 chrome 中不起作用?
【发布时间】:2016-07-04 06:23:34
【问题描述】:

您好,我使用了 DATA Grid Table,其中我有一个 CheckBox Cell 和 SetFieldUpdater,它在旧版本的 chrome 上运行良好,而在最新版本的 chrome 上运行良好。我使用过 GWT SDK 2.6.1 和 Appengine 1.9.6。我的代码如下

checkColumn=new Column<Invoice, Boolean>(new CheckboxCell()) {
        @Override
        public Boolean getValue(Invoice object) {
            return object.getRecordSelect();
        }
    };

    checkColumn.setFieldUpdater(new FieldUpdater<Invoice, Boolean>() {
        @Override
        public void update(int index, Invoice object, Boolean value) {
            object.setRecordSelect(value);
            table.redrawRow(index);             
        }
    });

有什么建议吗???

【问题讨论】:

  • 您在新版 Chrome 中是否发现了旧版中没有的异常?
  • 实际上我在我的桌子上使用了两个事件。 1: CHECKBOXCELL EVENT 和 2: SelectionChangeEventHandler for row.. 在更新后的 chrome 中,当单击复选框时执行第二个事件而不是 checkboxCell ....?

标签: java google-chrome google-app-engine gwt


【解决方案1】:

可能是浏览器兼容性问题 - 元标记可能会对您有所帮助

有关更多详细信息,请访问以下网址 -

存在与否有什么区别?

【讨论】:

    猜你喜欢
    • 2014-09-24
    • 2012-11-01
    • 1970-01-01
    • 2012-07-13
    • 2011-12-18
    • 1970-01-01
    • 1970-01-01
    • 2011-07-02
    • 1970-01-01
    相关资源
    最近更新 更多