Re: CellPreviewEvent ie - event not firing...?

2013-07-18 Thread Aya
Well, the patch for issue GWT 7139 solved the problem.
This is the issue
http://code.google.com/p/google-web-toolkit/issues/detail?id=7139can=4colspec=ID%20Type%20Status%20Owner%20Milestone%20Summary%20Stars

This is the link to the patch:
https://github.com/nmorel/gwt-issue7139/wiki

I've edited the patche's *.gwt.xml to use this solution for ie9 as well and 
it worked. 

In conclusion, this is what I understand: 
DataGrid on GWT 2.5.0, when using IE (9 or 10), does not catch click events 
(and all other kinds of events) unless you click on a row which is already 
selected. 

This problem can be solved by this patch
https://github.com/nmorel/gwt-issue7139/wiki 

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




Re: CellPreviewEvent ie - event not firing...?

2013-07-18 Thread David
Oh dear, that's an assumed stale...

I have the problem on IE9/IE10.
It basically blocks me from doing anything interesting in custom cells in
IE9/10

I will try out the proposed solution and if it works we will need to see if
this can be fixed somehow in the next GWT build.

David
On Thu, Jul 18, 2013 at 3:08 PM, Aya scootergi...@gmail.com wrote:

 Well, the patch for issue GWT 7139 solved the problem.
 This is the issue

 http://code.google.com/p/google-web-toolkit/issues/detail?id=7139can=4colspec=ID%20Type%20Status%20Owner%20Milestone%20Summary%20Stars

 This is the link to the patch:
 https://github.com/nmorel/gwt-issue7139/wiki

 I've edited the patche's *.gwt.xml to use this solution for ie9 as well
 and it worked.

 In conclusion, this is what I understand:
 DataGrid on GWT 2.5.0, when using IE (9 or 10), does not catch click
 events (and all other kinds of events) unless you click on a row which is
 already selected.

 This problem can be solved by this patch
 https://github.com/nmorel/gwt-issue7139/wiki

  --
 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 google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




CellPreviewEvent ie - event not firing...?

2013-07-16 Thread Aya
Hi all, I need your help.

I have a DataGrid with a single Selection model. 
Listening to CellPreviewEvent in order to handle click event on an icon on 
second column.
Works fine with Firefox  Chrome, but not on IE. (tried IE 10  9).

Seems that CellPreviewEvent is not fired unless the icon you clicked is the 
icon on the currently selected row...

Here is the code snippet...

DataGridMyObject table = new DataGrid.
SingleSelectionModelMyObject selectionModel = new 
SingleSelectionModelMyObject();
...
table.addCellPreviewHandler(new CellPreviewEvent.HandlerMyObject() {

@Override
public void onCellPreview(CellPreviewEventMyObject event) {
if(click.equals(event.getNativeEvent().getType())) {
Window.alert(Click);
if(event.getColumn() == 1)  {
//Do stuff
} //End click second column
 } //End click event 
}
});

Did anybody else encounter this problem? Is there another way? 


-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.