1 Reply Latest reply on Mar 30, 2010 10:52 AM by Flex harUI

    Data binding

    JockMahon Level 1

      I have an array collection that is bound to a several

      drop downs and is stored in the model. Some of these drop down require me to prepend an All

      option at the top , others do not


      I have tried doing the following but this results in all the drop downs having the All option ,

      what should i be doing



                      suppliersDropDown.dataProvider = model.suppliersWithAccount;
                      suppliersDropDown.dataProvider.addItemAt({SUPPLIER_NAME:"All", SUPPLIER_ACCOUNT_ID:""}, 0);