addDoubleClickHandler to a FixedWidthGrid !!
- by MArio
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.