If you use a labelFunction for the team name column, you can access the entire xml hierarchy. You can get the parent of a node using the node.parent() method.
Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Sent: Tuesday, October 21, 2008 1:35 PM To: [email protected] Subject: [flexcoders] First POST - XML and Datagrid - XML parent issues Here is my XML http://fantasy4sports.com/xml/players.xml <http://fantasy4sports.com/xml/players.xml> my source XMLCollection call <mx:XMLListCollection id="cuePointXMLList" source="{tempXML['team-sport-content']['league-content']['season-content ']['team-content']['player-content'].player}" /> and the resulting datagrid http://fantasy4sports.com/testFolder/sportsPlayerCSV.html <http://fantasy4sports.com/testFolder/sportsPlayerCSV.html> reason for the [][] is the xml is malformed and wont read the "-" in the titles. but thats not my problem... Now my customer wants the team name included in each players data which is in the parent ['team-content'].team.name so I am assuming I have to do one of two things 1) rename the tempXML['team-sport-content']['league-content']['season-content']['team- content']['player-content'].player to tempXML['team-sport-content']['league-content']['season-content']['team- content'] and figure out a way to put each player in a new row or figure out a way to get the data from ..parent.team.name which I dont think is possible. www.billebert.com

