循环 AdvancedDataGrid 时出现问题
我需要循环遍历 AdvancedDataGrid 的树。谁能给我解释一些事情吗?
这是我的代码:
var adg : AdvancedDataGrid;
var dp : GroupingCollection2 = adg.dataProvider;
var cursor:IViewCursor=dp.createCursor();
现在我的问题是我不知道如何从这里访问我的对象。我的 AdvancedDataGrid 有一个 GroupingCollection2 作为数据提供者,它以 XML 作为源,并且还按 XML 中的“Project_Name”字段进行分组。
有什么建议吗?
I need to loop through an AdvancedDataGrid's tree. Can anyone explain me some things?
This is my code:
var adg : AdvancedDataGrid;
var dp : GroupingCollection2 = adg.dataProvider;
var cursor:IViewCursor=dp.createCursor();
Now my issue is that I don't know how to access my objects from here. My AdvancedDataGrid has as dataprovider an GroupingCollection2 that has an XML as source, and also is grouped by "Project_Name" field from XML.
Any advice?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
像这样的东西?
来源
这也可能有用:http://help.adobe.com/en_US/FlashPlatform/reference/ actionscript/3/mx/collections/IViewCursor.html
此示例也可能有用:http://blog.flexexamples.com/2008/04/15/creating-a-view-cursor-on-an-arraycollection-in-弯曲/
something like this?
source
This might also be useful: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/collections/IViewCursor.html
This example could also be useful: http://blog.flexexamples.com/2008/04/15/creating-a-view-cursor-on-an-arraycollection-in-flex/