PDA

View Full Version : Single DataStore multiple Comboboxes



blaubarschbube
29 Apr 2007, 12:19 PM
Hi,

following Problem:
- I try to use a single instance of SimpleDataStore from multiple ComboBoxes.
- I only instantiate one SimpleDatastore with quiet a large array. Takes a couple of seconds to load.
- So far everything okay.
- When I try to instantiate a ComboBox in an callback from XHR. Randomly only the value field gets displayed. I instantiate these ComboBoxes on each callback.
- The text will not resolve unless I explicitly load or reload the ds before calling "applyTo".
- Since this takes while its quiet annoying.

Do I have to load the ds more then once? I assume no but where does this behaviour come from?


Regards,

Nils