看板 Flash 關於我們 聯絡資訊
請問 flex 的 combobox data provider 要怎麼餵 array 進來呢? 該組 array 是某 db table 的查詢結果 來源是 remoteobject 有可以參考的方式嗎感謝^^ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.227.80.142
aitch:你可以用ArrayCollection建構時餵Array給建構式 08/31 18:53
aitch:再指派給dataProvider即可 08/31 18:53
aitch:var ac:ArrayCollection = new ArrayCollection(myArray); 08/31 18:54
aitch:myCB.dataProvider = ac; 08/31 18:54