4 Replies Latest reply on Nov 22, 2008 11:27 AM by Gregory Lafrance

    Can't Update ComboBox

    Gregory Lafrance Level 6
      In my ComboBox I have an item "add entry..." and when user selects that item I popup a TitleWindow.

      The TitleWindow has a TextInput, where user enters text. Then they click a button, and the click handler for the button updates the XMLListCollection that is the dataProvider for the ComboBox.

      After I add the item to the XMLListCollection I call refresh on it, but after the TitleWindow closes the ComboBox does not have the new item. I tried validateNow(), and also once again setting the ComboBox to that XMLListCollection, but it will not update.

      Do I have to have an itemEditor in this case? If so, any hints on coding to get that item added?