Hello All,

This is a continuation of my previous thread, regarding my
CurrencyFormatter wiping out my "UnitPrice" value in a DataGrid cell.

I figured out the problem, and that was, my ValueObject containing the
particular Variable is cast as a NUMBER.  This is for obvious reasons,
since it's a Dollar Value and needs to be used in calculations.

The CurrencyFormatter must return a STRING in order to append a "$" to
the beginning of it.  Once the CurrencyFormatter performs it's magic,
the DataGrid no longer knows how to handle the display - therefore, it
wipes out the value.

After converting my "UnitPrice" Variable to a STRING, now the value
stays put within the DataGrid.  BUT, now I really can't use this value
in calculations.

I was under the impression, that LabelFunctions were strictly for
DISPLAY purposes only, and that they didn't actually CHANGE the actual
contents contained in the Cell.

Am I missing something here?  I am getting closer now, but I just need
to figure out how to handle these different Data Types.

Thanks again for all your help,

Mike


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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

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