I have a large tree grid. I need to open all *Asset *nodes. Here is an xml
structure:
<asset>
<asset>
<asset>
<project>
</project>
</asset>
</asset>
</asset>
I have to following code:
var _List:XMLList = grid.dataProvider.source.source.descendants('Asset');
for (var i:int=0;i<_List.length();i++)
{
grid.expandItem(_List[i], true, false);
}
Works, but takes too long. Any idea?
Thanks
