0

Combobox OnChange Event too slow

asked 2017-10-26 16:34:08 +0800

Ildelian gravatar image Ildelian
5 2

updated 2017-10-26 17:05:09 +0800

I have a autodrop Combobox and a EventListener for the "Events.ON_CHANGING". My problem is that only work once.

Example, I type,do the search, I erase the values, retype and no event is fired. I need to click in other component and then re-click on the combobox to type another time.

My code:

public class ComboUsuariosComponent extends Combobox {

public ComboUsuariosComponent(String width, boolean buttonVisible, boolean autodrop) {
    this.setButtonVisible(buttonVisible);
    this.setAutodrop(autodrop);
    this.setWidth(width);
    this.addEventListener(Events.ON_CHANGING, new GrillaComboOnChange());
}

private class GrillaComboOnChange implements EventListener<Event>{

    @Override
    public void onEvent(Event event) throws Exception {
        finUsers(getValue());
    }
}

}

delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2017-10-26 16:34:08 +0800

Seen: 8 times

Last updated: Oct 26 '17

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More