7 Replies Latest reply on Dec 28, 2010 9:48 PM by Shongrunden

    how to disable items in DropDownList

    wejrhwkekdf

      Hi.

       

      I'm using a data provider for a DropDownList that has a boolean field called "locked".ie.

       

      <s:ArrayCollection id="dropDownListAC">
      <fx:Object name="normal" locked="true" />
      <fx:Object name="hard" locked="false" />
      <fx:Object name="crazy" locked="false" />
      </s:ArrayCollection>

       

      how can i make it so individual items in the DropDownList are disabled if "locked" is true?

       

       

       

      thanks!!