Re: Cell Browser External Listener

2016-02-26 Thread Thomas Broyer
Have a look at the ActionCell and ButtonCell's API. ActionCell has its own Delegate, while ButtonCell will use the ValueUpdater, but in the end they're very similar. On Friday, February 26, 2016 at 4:43:36 PM UTC+1, Sam Wootton wrote: > > Hello Jens, > > Thanks for your help. I managed to add >

Re: Cell Browser External Listener

2016-02-26 Thread Sam Wootton
Hello Jens, Thanks for your help. I managed to add cellBrowser.addDomHandler(new ClickHandler() { @Override public void onClick(ClickEvent clickEvent) { GWT.log("DownloadPanel.onClick "+clickEvent.getNativeEvent().toString()); } }, ClickEvent.getType()); But that doesn't

Re: Cell Browser External Listener

2016-02-26 Thread Jens
Since "click" is a browser event you would need to use addDomHandler() instead of addHandler(). If that does not work either then I would let the Cell publish a custom Event on the EventBus. Maybe using custom events via EventBus is more readable anyways. -- J. -- You received this message

Cell Browser External Listener

2016-02-26 Thread Sam Wootton
Dear GWT Users, Thanks in advance for any help. I have working CellBrowser that I want to add an external listener to (so that I can display data clicked on... but outside and in another panel). I see CellBrowser implements HasClickHandlers (and addClickHandler).