They don't have an unformat method because in general formatting isn't a two-way operation. For example, if you format a Date object you might want the 5/12/2006 part but not the 5:41:15pm part. You can't get the original Date back because you've thrown away information.

 

The point of a labelFunction in a list-based component is that what you see displayed on screen can be different from what is in your dataProvider items. So  to "unformat",  couldn't you just remove the labelFunction and have the underlying data displayed?

 

- Gordon

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Valy Sivec
Sent: Friday, May 12, 2006 12:25 PM
To: [email protected]
Subject: [flexcoders] Flex Formatters

 

Hello,

I was wondering why formatters don't have an unformat method. do they?. I have an editable grid and the users want to have excel like formatting and it seems foolish to me trying to unformat the data once formatted.... Any help?

Am I missing something here?.
Thanks,
Valy


New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.


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




Reply via email to