Tuesday, May 3, 2011

Convert HTML select/optgroup to Flex

New to Flex, what is the nearest equivalent to the following HTML markup in Flex?

<select size="9">
    <optgroup label="Group 1">
     <option>Value 1</option>
     <option>Value 2</option>
    </optgroup>
    <optgroup label="Group 2">
     <option>Value 5</option>
     <option>Value 6</option>
    </optgroup>
    <optgroup label="Group 3">
     <option>Value 8</option>
     <option>Value 9</option>
    </optgroup>
</select>
From stackoverflow

0 comments:

Post a Comment