DataGridColumn.cellRenderer
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/2/help.html?content=00002146.html#3142008
※ 引述《windseed522 (阿辰)》之銘言:
: 已經爬過文,不少人問過這個問題
: 但回答大多是Flex的作法(用itemRenderer)
: 我是在Flash的環境下開發,Flash似乎沒有這個類別
: 辜狗了很久,找到幾乎都是Flex的作法,或是AS2的寫法
: 我嘗試用在DataProvider增加項目(addItem())時new一個checkbox放入的作法
: ( myDataProvider.addItem({id:1, select:new CheckBox()}); )
: 但顯示出來的結果是在欄位內印出" [object CheckBox] "
: 而非可以點選的實體
: 搞了非常久,不得其所~"~
: 請教版上前輩
: 請問Flash環境下,如何用AS3在DataGrid內放入checkbox、button、Image等組件?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.211.34.185