13 Replies Latest reply on Mar 17, 2010 11:02 PM by saisri2k2

    Refreshing the dataprovider of a ComboBox

    Prabh Singh

      I have a ComboBox, the dataProvider for which gets assigned at runtime. The first assignment of the DP is correct and the combobox shows the correct values. However, for the ones after that, the combobox does not show the updated data.


      I have checked my dataProvider (which is XML) and the content is there and the assignment is correct but the UI does not update. It keeps showing data from the initial assignment.

       

      I have tried doing cb.dataProvider.refresh();

      .validateDisplayList()

      callLater

       

      None of them are doing the trick.

       

      Am I missing something ?


      Any help is appreciated. Thanks in advance.