addDoubleClickHandler to a FixedWidthGrid !!

Posted by MArio on Stack Overflow See other posts from Stack Overflow or by MArio
Published on 2010-05-21T17:09:11Z Indexed on 2010/05/21 17:10 UTC
Read the original article Hit count: 243

Filed under:
|

Hello so I got a FixedWidthGrid table which is made from a pagingtable

FixedWidthGrid dataTable = x.getDataTable();

I could add alot of handlers to the dataTables rows like selected or sort policies.

but I cant add a double click handler ... anyway idea's ?!

thank you

I do have a class which I made to try to add a double click hander but it didn't work.

class:

public class DoubleClickTable extends FixedWidthGrid implements HasDoubleClickHandlers {
public DoubleClickTable() {
    super();
}

public HandlerRegistration addDoubleClickHandler(DoubleClickHandler handler) {
    return addDomHandler(handler, DoubleClickEvent.getType());
}

}

Thank you so much for your help.

© Stack Overflow or respective owner

Related posts about gwt

Related posts about double-click