Hi Nicolas,

I have number values like 8, 7.567 or 3.54 that I would like to format so
they all have 3 decimals like this: 8.000, 7.567 and 3.540
I try to do this with the number formatter, but I can't make it work.

I hope that makes it clearer for you.

Thanks.

Best regards.

Torben Nielsen


-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nicholas Lansbury
Sent: venerdì 24 marzo 2006 23.35
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Formatting cells in datagrid

hi torben

you don't say what it is you are trying to format but I expect you need to
use a cell renderer.

you then reference the cellrenderer from your datagridcell.

hth


Torben Nielsen wrote:

> Hi,
>
>  
>
> I have studied the documentation on the datagrid, but have been unable 
> to find any usefull information about how to format the values of a 
> datagrids cells. I found some information about the NumberFormatter, 
> but I run into trouble when I try to use it on my datagrid.
>
>  
>
> I hope some of you could give me a heads up on how to achieve this.
>
>  
>
> Thanks.
>
>  
>
> Best regards.
>
>  
>
> Torben Nielsen
>
>  
>
>  
>
>
>
> --
> 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
>
>     *  Visit your group "flexcoders
>       <http://groups.yahoo.com/group/flexcoders>" on the web.
>        
>     *  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



 





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