Those of you attempting to use the new Flex 3 AdvancedDataGrid component in FlashDevelop might have noticed that you are getting the following error:
Error: Could not resolve <mx:AdvancedDataGrid> to a component implementation.
This is because the AdvancedDataGrid (along with a bunch of other components) are not part of the basic Flex framework, but are provided in an external swc. Although Flex Builder 3 includes these automatically, FlashDevelop does not so you need to manually include the required components.
To do this take the following steps:
Right click on the project root in the Project Manager and select Add->Library Asset…
Navigate to the datavisualization.swc file (this will be in Flex Builder 3\sdks\3.0.0\frameworks\libs) and click Open
Once again click on the project root and select Add->Library Asset…
This time navigate to datavisualization_rb.swc (this will be in Flex Builder 3\sdks\3.0.0\frameworks\locale\en_US) and click Open
Now you will be able to use AdvancedDataGrid and all other charting components without ever touching Flash Builder 3!
P.S. If you include datavisualization.swc but forget to include
datavisualization_rb.swc you will get the following error:
Error: Unable to resolve resource bundle “datamanagement” for locale “en_US”.
另外一种就是放到Flex Builder自带的sdk中,其实很简单, 就是把datavisualization.swc拷贝到Fx\sdk\version\frameworks\libs下。将datavisualization_rb.swc拷贝到Fx\sdk\version\frameworks\locale\en_US。将datavisualization rsls 拷贝到Fx\sdk\version\frameworks\rsls下。如果不行话的就重启一下Fx.
分享到:
相关推荐
Flex应用3D饼图,柱图线图,仪表盘,AdvancedDataGrid表头皮肤,分数较高,不建议下载,仅自己保留
Flex技术中AdvancedDataGrid使用方法
用AdvancedDataGrid组件编写的一个简单的课件管理系统,这是个雏形,有一定的参考价值
flex advancedDataGrid 中如何实现带checkbox的树
flex AdvancedDataGrid实现checkBox全选功能 实现全选,多选功能
flex-datagrid-advancedDataGrid-demo,做的datagrid及advanceddatagrid的例子,希望大家喜欢
flex datavisualization.swc flex 3 AdvancedDataGrid
一个flash文件 可以对flex控件进行css可视化设计 非常的好用
NULL 博文链接:https://kidd.iteye.com/blog/1329253
AdvancedDataGrid实现双表头表格,在某些情况下还是比较实用的,下面有个不错的示例,感兴趣的朋友可以参考下
AdvancedDataGrid控制具体某个单元格可编辑的例子,里面实现了原理,具体如何实现可视判断条件而定,因为自己也是很辛苦实现的,所以分就高点了,别介意,哈哈
AdvancedDataGrid综合应用
今天我们要说的是官方文档中用了整章介绍的AdvancedDataGrid,AdvancedDataGrid是DataGrid的高级版本,Flex 3 SDK并不包含它,其和Charting Enhancements一起构成了Flex Data Visualization package,TNND,也就是说...
flex AdvancedDataGrid 动态添加一行 动态为控制树添加一个节点
import flash.filesystem.*; [Bindable] private var dp:Array = [ {idx:1, names: "test1", sex: "b" }, {idx:2, names: "test2", sex: "g" } ]; public function doSelect(o:Object):void {...
AdvancedDataGrid或datagrid导出到excel.rar AdvancedDataGrid或datagrid导出到excel.rar AdvancedDataGrid或datagrid导出到excel.rar
最新的AdvancedDataGrid行嵌套AdvancedDataGrid实现,该例子只是实现AdvancedDataGrid利用AdvancedDataGridRendererProvider在行中渲染另外一个AdvancedDataGrid,当然也可以渲染其它任何想渲染的界面或者组件,价值...
非常好用的 felx AdvancedDataGrid 多选框 单选框支持渲染器,不需改到AdvancedDataGrid 代码; 支持 xml 数据源的网上可查到一些, 但这个可是 支持 Array 类型数据源的。
AdvancedDataGrid导出复杂表头excel
Flex前端+Java后台,要将Flex界面中AdvancedDataGrid的数据导出成Excel文件。有2种方法: