Hi,
I have a DataGrid with height="100%". Now if the grid is mostly blank and
the user doubleclicks on an empty area of the grid, I want to perform a
specific action.
But if the user doubleclicks an existing cell, I want to veto this action.
DoubleClickHandler dblClickHandler = new DoubleClickHandler() {
@Override
public void onDoubleClick(DoubleClickEvent event) {
Sysout("double");
}
};
dataGrid.addDomHandler(dblClickHandler, DoubleClickEvent.getType());
How can I veto this DoubleClickEvent if happened inside Cell?
--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.