GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.
Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg
by douglas.souza » Tue Oct 20, 2009 2:29 am
Hello,
why my GridPanel doesn't recognize the double click event ?
here is my code:
- Code: Select all
grid.addGridRowListener(new GridRowListener(){
public void onRowClick(GridPanel grid, int rowIndex, EventObject e) {
MessageBox.alert("Simple click!");
}
public void onRowDblClick(GridPanel grid, int rowIndex, EventObject e) {
MessageBox.alert("Double click!");
}
public void onRowContextMenu(GridPanel grid, int rowIndex, EventObject e) {
}
});
I put one messageBox for each event, but just the one with "Simple click!" appears, even when I do double click
Can anyone help me?
Thanks
-
douglas.souza
-
- Posts: 4
- Joined: Thu Jul 02, 2009 5:00 am
by Eric Clayberg » Wed Oct 21, 2009 8:30 pm
douglas.souza wrote:why my GridPanel doesn't recognize the double click event ?
Problems specific to the GWT-Ext widgets should be posted to the GWT-Ext forum.
This forum is specifically for issues related to the use of GWT Designer.
-
Eric Clayberg
- Moderator
-
- Posts: 4503
- Joined: Tue Sep 30, 2003 6:39 am
- Location: Boston, MA USA
-
Return to GWT Designer
Who is online
Users browsing this forum: No registered users and 1 guest