NINGEN  

flex中下拉框的实现

<mx:ComboBox id = “combobox” dataProvider = “{deviceCodeType }” editable = “true”>
deviceCodeType = new ArrayCollection();
deviceCodeType.addItem({data:1,label:'编码'});
deviceCodeType.addItem({data:2,label:'名称'});
deviceCodeType.addItem({data:3,label:'网管中网元'});

效果如图

posted on 2017-01-06 11:12  NINGEN  阅读(834)  评论(0编辑  收藏  举报