On Dec 9, 5:56 am, Karan Sardana <karansard...@gmail.com> wrote:
> I'd like to manually fire a change event on a text box, and let the
> change handlers tap that event to do the needful.
>
> I tried using fireEvent(GwtEvent <?> event) with no luck. We can't
> instantiate changeEvent, so how could I fire a change event ???

DomEvent.fireNativeEvent(Document.get().createChangeEvent(),
myTextBox);

or you could use the ValueChange event instead, which you can fire
programmatically using ValueChangeEvent.fire(...)

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to