Hi all
I need some advice on a data grid, i have a data grid that is loading from a .xml filem this all loads but it does not put my columns in order.
How do i make the columns in order.
.xml
<?xml version="1.0" ?>
<olan>
<player first="Dunkyb123" teamscore="10" kills="1" deaths="2" score="28" />
<player first="Captain Sausage" teamscore="30" kills="19" deaths="4" score="24" />
<player first="Fat Pants" teamscore="8" kills="18" deaths="6" score="20" />
<player first="Hammer66" teamscore="7" kills="17" deaths="8" score="16" />
<player first="Woolmer" teamscore="6" kills="16" deaths="10" score="12" />
<player first="Discotoe" teamscore="5" kills="15" deaths="12" score="8" />
<player first="Tammyb" teamscore="4" kills="14" deaths="14" score="4" />
<player first="Angrytoad" teamscore="3" kills="13" deaths="16" score="0" />
<player first="Starman_uk8" teamscore="2" kills="12" deaths="18" score="-4" />
<player first="Ianuk" teamscore="1" kills="11" deaths="20" score="-8" />
<player first="Beaver44" teamscore="2" kills="10" deaths="22" score="-10" />
<player first="Rogue Spear" teamscore="3" kills="9" deaths="24" score="-12" />
<player first="TrooperTooke" teamscore="4" kills="8" deaths="26" score="-14" />
</olan>
http://www.theoaps.co.uk/data%20grid.swf
I wanted the columns to come out in the order of the .xml sheet. Name First, Teamscore, Kills, Deaths, Score.
im using a data grid component with an xml connector.
flash code :
var cxc:mx.data.components.XMLConnector;
cxc.trigger();
hoe do i get the columns to come out in a specific order
cheers dunky