Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ComboBoxItem's ChangedHandler fire when done editing

    I'm using a ComboBox item to allow the user to filter a drop down by typing as well as choosing an item in a drop down. Once the user is done entering the result should fetch data into a ListGrid below. This works except the ChangedHandler fires for every key press instead of when the user is either done editing or the ComboBoxItem has lost focus.

    Is there a way to have the ChangedHandler trigger on the completion of the editing? Or is there an event to attach on the ComboBoxItem losing focus? Otherwise the ListGrid's fetchData method is called for every keystroke which is very heavy.
    Last edited by lcalisi; 30 Mar 2010, 06:16.

    #2
    I'd be interested in this too!

    I know there is setFetchDelay method and it's useful but I'm looking for a way to "delay" the onChanged event after xxx ms.

    Any ideas?

    Comment


      #3
      Try this:
      Code:
      comboBoxItem.setAttribute("changeOnKeypress",false);

      Comment

      Working...
      X