What is the format of the date before you set it in the dataprovider? If you already have the date in a numeric format similar to what is returned by Date.getTime(), then take a look at Peter Ent's approach. The idea is to set the dataprovider with numeric time value to preserve the sort order, and then use a cell renderer to format the field for display purposes. Worked nicely for me, since I already had dates provided as millisecond values throughout the backend code.
The article is referenced in the link Manish gave, and here's a direct link: http://weblogs.macromedia.com/pent/archives/2004/12/sorting_by_date.cfm Doug --- In [email protected], Tom Fitzpatrick <[EMAIL PROTECTED]> wrote: > > At 07:07 AM 2/9/2006, you wrote: > > > >See if this helps: > >http://weblogs.macromedia.com/mesh/archives/2005/04/sorting_date_fi.cfm > > Looks like it should help - but I'm having problems. > > I'm guessing this is because I'm setting the date in the dataprovider using > the DateField class, so it's not returning the date in a format the script > can use. > > But this is only a guess - any help appreciated! > > - Tom > -- 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/

