Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/76.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
将HTML select/optgroup转换为Flex_Html_Flex3 - Fatal编程技术网

将HTML select/optgroup转换为Flex

将HTML select/optgroup转换为Flex,html,flex3,Html,Flex3,对于Flex来说,与Flex中的以下HTML标记最接近的等价物是什么 <select size="9"> <optgroup label="Group 1"> <option>Value 1</option> <option>Value 2</option> </optgroup> <optgroup label="Group 2">

对于Flex来说,与Flex中的以下HTML标记最接近的等价物是什么

<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>

值1
价值2
价值5
价值6
价值8
价值9

没有直接映射的。您可以尝试此操作--(使用
组合框
)或使用
组合框