If your xml isnt going to change, you can order your columns in the DataGrid mxml tag.

On 10/10/06, Flap Flap < [EMAIL PROTECTED]> wrote:

Hi there,

I put a simple xml as a Dataprovider via HTTPService.
All works fine except this :

Here is my xml example :

<root>
<data>
<name>Toto</name>
<s51>0</s51>
<s52>2</s52>
<s01>3</s01>
<s02>3</s02>
</data>
<data>
<name>Titi</name>
<s51>0</s51>
<s52>2</s52>
<s01>3</s01>
<s02>3</s02>
</data>
</root>

But in my DG the column are showned in this order : name,s01,s02,s51,s52

Hi try to put dynamicly the column order by create a DataGridColumn in the right order it change nothing...

Any clue ?
Thanks

--
Flapflap
http://www.kilooctet.net (Dev Flash Blog Fr)




--
diabetic? http://www.diabetesforums.com
Albert Einstein - "It's not that I'm so smart, it's just that I stay with problems longer." __._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to