Hank
On 6/26/06, Tim Hoff <[EMAIL PROTECTED]> wrote:
Thanks for the tip Gordon. Sorry Hank, it works for me.
-TH
--- In [email protected], "hank williams" <[EMAIL PROTECTED]>
wrote:
>
> Yes... well that seems like the thing to do since I couldnt get
Tims
> solution to work :)
>
> Hank
>
> On 6/26/06, Gordon Smith <[EMAIL PROTECTED]> wrote:
> >
> > I'd recommend using a labelFunction and a DateFormatter to
accomplish
> > this, because it is a lighter-weight solution than using an
itemRenderer.
> >
> >
> >
> > - Gordon
> >
> >
> > ------------------------------
> >
> > *From:* [email protected]
[mailto:[email protected]] *On
> > Behalf Of *Tim Hoff
> > *Sent:* Monday, June 26, 2006 1:40 PM
> > *To:* [email protected]
> > *Subject:* [flexcoders] Re: datagrid date formatting
> >
> >
> >
> > Hi Hank,
> >
> > You could use an itemRenderer component or do it in-line like
this:
> >
> > -TH
> >
> > <mx:DataGridColumn width="104" textAlign="center"
dataField="myDate"
> > headerText="My Date">
> > <mx:itemRenderer>
> > <mx:Component>
> > <mx:VBox>
> > <mx:DateFormatter id="df" formatString="MM/DD/YYYY"/>
> > <mx:Text id="myDate" selectable="false" width="104"
> > text="{df.format(data.myDate)}" paddingLeft="5">
> > </mx:VBox>
> > </mx:Component>
> > </mx:itemRenderer>
> > </mx:DataGridColumn>
> >
> > --- In [email protected] , "hank williams" <hank777@>
wrote:
> > >
> > > I have a datagrid that has a Date type column and I want ! to
display
> > the date
> > > in a mm/dd/yy format. The default is a really long format that
includes
> > the
> > > day of the week and the time. How do I tell a column how to
format the
> > date.
> > >
> > > Hank
> > >
> >
> >
> >
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Something is new at Yahoo! Groups. Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~->
--
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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

