This content has been marked as final. Show 4 replies
You can use the iterator of HierarchicalCollectionView and get to the summary nodes. (You may have to open all the nodes if you want to proces all summary nodes)
Thanks, that looks like it will work but can you give me some more information on how I would iterate through the HierarchicalCollectionView?
I can see that after opening all the nodes, HierarchicalCollectionView.OpenNodes becomes an object with child objects that contain all the information I need. I can get the length of HierarchicalCollectionView, but how do I refer to the individual nodes below? Here is some code that doesnt work - maybe you can provide a quick correction or a re-write:
var myHierCollView:IHierarchicalCollectionView = dgVwFinData.hierarchicalCollectionView;
//open all the nodes
//loop through the HierarchicalCollectionView
for(var i:int=0; i<myHierCollView.length; i++)
//how do I access the individual items in myHierCollView
//the following doesnt work
var currentNode:Object = myHierCollView ;
You need to call myHierCollView.createCursor() and use the IViewCursor returned.
var node:Object = cursor.current;
Thanks Sreenivas R, you're a top man