Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的应用程序中有几个 ArrayCollections 和 DataGrid。由输入数据确定的 ArrayCollections 数。如何为每个 DataGrid 列创建自己的数据提供者?
好的起点是继承 DataGrid 并覆盖函数集 dataProvider。然后你必须实现所有负责处理你的数据结构的逻辑。但是,如果没有对 Flex 的深入了解,这并不容易。
相反,我建议您创建某种实用程序,将您的数据合并为 DataGrid 接受的格式。