*GWT Version:* GWT 2.6.0
*Browser for which the code is not working:* Google Chrome Version 
38.0.2125.104 m
*Browser for which the code is working:* IE 9

I have a ButtonCell added as a column in DataGrid. The FieldUpdater.update 
event for the ButtonCell is not fired in Chrome. The same works fine in IE 
9. On further observation I found that after hovering the mouse over the 
rows of DataGrid nothing happens in Chrome. But on mouse-over in IE the 
rows change color (as expected). Thus, seems like the DataGrid is not 
receiving any mouse events in Chrome and hence the ButtonCell is not 
working.

I have following hierarchy of elements:
RootLayoutPanel -> DockLayoutPanel-> SimpleLayoutPanel -> LayoutPanel -> 
DockLayoutPanel -> DataGrid -> ButtonCell (a column inside DataGrid)

Here is how I add the ButtonCell:

Column<MyProject,String> detailsColumn =
new Column<MyProject,String>(new ButtonCell()) {
  public String getValue(MyProject object) {
    return "DETAILS";
  }
};
detailsColumn.setFieldUpdater(new FieldUpdater<MyProject, String>() {
  @Override
  public void update(int index, MyProject project, String value) {
  Window.alert("Button Clicked"); *//nothing happens here; the dialog is 
not displayed*
  }
}); 
dataGrid.addColumn(detailsColumn, "DETAILS");
dataGrid.setColumnWidth(detailsColumn, 10, Unit.PCT);


I tried replacing the DataGrid with CellTable with no success. Replacing 
ButtonCell with ActionCell also didn't work. Note that the DataGrid example 
from GWT Showcase works fine on the Chrome browser.

I am suspecting this issue is similar 
to: https://code.google.com/p/google-web-toolkit/issues/detail?id=7139 but 
have no idea how to resolve it.

Anyone else facing this issue? Any help would be highly appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to