[flexcoders] Re: Sort Order of mx.controls.Tree

2005-06-24 Thread everesnet
Thanx for your help!

The Tree kept the order with HTTPService result(xml).
#But Tree with WebService result(soap..object) doesn't keep order is
specification ? h.

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
 Hmm, so you are receiving nodes with child arrays and they are correct
 in the web service but wrong in the Tree?  The Tree shouldn't be
 reversing the order of any arrays.  What if you took the WebService
 result as literal XML and gave it to the Tree (resultFormat=xml)?
 Maybe the deserialization into objects is mucking the order up and
 leaving it in XML form would work better?
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of everesnet
 Sent: Wednesday, June 22, 2005 9:57 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Sort Order of mx.controls.Tree
 
  
 
 Hello,
 
 I'm trying to use Tree with WebService result, and I can show that.
 Tree's treeDataProvider keeps sort order.
 I mean treeDataProvider has arrays that is ordered correct.
 
 But tree's nodes are showing onother order of rows.
 It's same as tree's backingObject's order of rows.
 
 I just set WebService result to dataProvider like below.
 mx:Tree dataProvider={WebService.getDataResult} /
 
 How can I set dataProvider's order of rows to tree's.
 
 
 thanx in advance,
 
 makoto tsuyuki
 
 
 
 
 
 
 
 
 Yahoo! Groups Links
 
 * To visit your group on the web, go to:
   http://groups.yahoo.com/group/flexcoders/
 
 * To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
 
 * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ .




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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Sort Order of mx.controls.Tree

2005-06-22 Thread everesnet
Hello,

I'm trying to use Tree with WebService result, and I can show that.
Tree's treeDataProvider keeps sort order.
I mean treeDataProvider has arrays that is ordered correct.

But tree's nodes are showing onother order of rows.
It's same as tree's backingObject's order of rows.

I just set WebService result to dataProvider like below.
mx:Tree dataProvider={WebService.getDataResult} /

How can I set dataProvider's order of rows to tree's.


thanx in advance,

makoto tsuyuki





 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/