Some people have extended DataGridColumn to handle nested objects and sorting. but, You might find this helpful:
http://natescodevault.com/?p=61 <http://natescodevault.com/?p=61> -TH --- In [email protected], "Keith Hughitt" <keith.hugh...@...> wrote: > > When working with DataGrid ItemRenderers, you can say something like > itemrenderer="Text", and Flex will know how to deal with the data. > > Is there anyway you can do this with a sortCompareFunction, e.g. > > sortCompareFunction="Numeric" or sortCompareFunction="String"? > > The reason is that I have some simple datatypes (Integers and Strings) > that are nested (e.g. time.start), and thus require using a > labelFunction instead of simply specifying a dataField. A result of > which is that Flex does not know how to sort them anymore. I can write > a sortable function for Integers and Strings, but I'm pretty sure this > has already been done. > > Any ideas? Any help would be appreciated. :) > > Thanks! > Keith >

