all groups > flash data integration > july 2006 >
You're in the

flash data integration

group:

Datagrid - Make columns match XML order


Datagrid - Make columns match XML order frbtrain
7/7/2006 5:28:31 PM
flash data integration:
It seems there are lots of topics close to this, but none with answers. I have
attempted to complete the Dinner Menu sample example in Flash 8. I finally got
ti to work but the columns do not match the order of the items in the XML
document. I cannot find an answer to this problem anywhere on the internet so
far.
Thanks
Re: Datagrid - Make columns match XML order Motion Maker
7/7/2006 11:32:15 PM
I have not tried the example but you might check the live doc comments to be
sure you have followed the suggestions in the commentors:
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/js/html/wwhelp.htm?href=00000758.html

--
Lon Hosford
www.lonhosford.com
Flash, Actionscript and Flash Media Server examples:
http://flashexamples.hosfordusa.com
May many happy bits flow your way!
[quoted text, click to view]

Re: Datagrid - Make columns match XML order frbtrain
7/10/2006 2:38:56 PM
Yep, already followed all those steps. Even have the printed copy on my desk still.
Re: Datagrid - Make columns match XML order sdunn1
7/13/2006 12:00:00 AM
I had a similar problem with the datagrid component. I used actionscript on the
component to specifically state the order of the columns:

yourDataGrid.columnNames = ["name1", "name2", "name3", "name4"];

make sure name1, name2 etc refer to node names within the XML document and
assuming the xml connector is properly set up your datagrid will list the
columns in the order you specify
AddThis Social Bookmark Button