2 Replies Latest reply on Jun 10, 2010 6:17 AM by Jayagopal Flex

    Get Combobox value from Repeater

    Jayagopal Flex

      Hi,

             I have loaded combobox inside a repeater. I need to get the selected value of comboboxes from the repeater with out changing the combobox.

      I need to get all the combobox selected labels.

       

      Regards,

      Jayagopal.

        • 1. Re: Get Combobox value from Repeater
          BhaskerChari Level 4

          Hi Jayagopal Flex,

           

          Can you post some of the code you are working on..?

           

          Thanks,

          Bhasker Chari

          • 2. Re: Get Combobox value from Repeater
            Jayagopal Flex Level 1

            Hi,

                       

            <mx:Repeater id="vitalrepeater">

                                          <mx:Label text="{vitalrepeater.currentItem.vitalname}" width="100"/>

                                          <mx:ComboBox  width="{vitalrepeater.currentItem.combwidt}" dataProvider="{vitalrepeater.currentItem.comboarr}" visible="{vitalrepeater.currentItem.combovisib}"

                                                rowCount="15" selectedIndex="{vitalrepeater.currentItem.comboindx}" change="{updatecombovalue(event),updateweightheightvalue(event.currentTarget.getRepeaterI tem())}"/>

                                               </mx:Repeater>

             

            I need to get the combobox label value loading initialy with changing the combobox.

             

            Regards,

            Jayagopal.