本文为大家介绍下Flex4 DataGrid中嵌入RadioButton的方法,下面有个不错的示例,感兴趣的朋友可以参考下
复制代码 代码如下:
dataProvider="{viewList}">
MXML页面
复制代码 代码如下:
xmlns:mx="library://ns.adobe.com/flex/mx">
//----------------------------------------------------------------------------------------------------------
override public function prepare(hasBeenRecycled:Boolean):void
{
super.prepare( hasBeenRecycled );
// We make the radio button mimic the selection status of the whole row.
const selected_items: Vector.
enabled="false"
horizontalCenter="0" verticalCenter="0" />
以上就是Flex4 DataGrid中如何嵌入RadioButton的详细内容,更多请关注0133技术站其它相关文章!