Thursday, August 13, 2015

Re: GWT Showcase Sample App CustomDataGrid FieldUpdate.update doesn't fire "change" event of SelectionCell. Is this a BUG?

If I add Event.sinkEvents(element, Event.ONCHANGE); in AbstractInputCell at least I start getting change events in developer tools - event listener break points. But, the change event still doesn't come through in SelectionCells onBrowserEvent method?

relative method from AbstractInputCell with extra line to sink the ONCHANGE event to the child element. 

/**
   * Get the input element.
   * 
   * @param parent the cell parent element
   * @return the input element
   */
  protected Element getInputElement(Element parent) {
final Element element = parent.getFirstChildElement();
Event.sinkEvents(element, Event.ONCHANGE);

    return element;
  } 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment