1 Reply Latest reply on Dec 14, 2009 11:56 PM by Flex harUI

    listen for Combobox value change

    amol bhandwale Level 1

      Hi All,

       

      I have a combobox in form, and on change value of it i want to update my datagrid dataprovider data accordingly.

       

      The combobox selectedIndex can change by user or through AS(Action Script) code.

       

      I tried the change event of combobox but it's not triggered when i set the index through AS.

       

      eg: cmbID.selectedIndex = 1;

       

      I tried the valueCommit event. But it executed three times.(not known the exact reason).

       

      Is there is a common event which i fire on Change by user and change through the AS.

       

      Thanks,

      Amol.