Hey everyone,

I have an array collection of Industry objects which are all
sub-industries. Each industry object has as a property a parent
industry (of datatype Industry);

Industry VO contains properties:

industryId : int;
parent : Industry;
name : String;

I want to sort the array by the parent industry first, and then the
children industries names.

I was going to do something like:

var sort : Sort = new Sort();
sort.fields = [ new SortField("parent.name", true), new
SortField("name", true) ];

...but this isn't working.

Is there any way of going deeper than just immediate properties for a
sortfield?

Brennan






--
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/
 



Reply via email to