在使用Flex组件时,我们常常会遇到复杂组件要求。如:对DataGrid加一列全选、或对DataGrid加一列图表、改变DataGrid的表头为一张图片等。此时,Flex为我们提供的组件已经不能满足我们的需求,我们需要使用内联组件ItemRenderer去自定义一些功能。下面我们使用一个例子演示使用ItemRenderer给DataGrid的一个Column嵌入linkButton,点击触发linkButton的方法:1、假如我们有如下一个DataGrid:<dc:SuperDataGrid width="100%" height="100%" d Read More
posted @ 2013-05-22 10:53 大树的博客 Views(1115) Comments(0) Diggs(0) Edit