Formatting columns in Advanced Data Grid

PMembrey
PMembrey used Ask the Experts™
on
Hi,

I've got these two formatters which correctly format the content:

[code]

            <mx:CurrencyFormatter id="Price" precision="2"
        rounding="none"
        decimalSeparatorTo="."
        thousandsSeparatorTo=","
        useThousandsSeparator="true"
        useNegativeSign="true"
        currencySymbol="$"
        alignSymbol="left"/>
       
           <mx:NumberFormatter id="PrepForDisplay"
        precision="0"
        rounding="up"
        decimalSeparatorTo="."
        thousandsSeparatorTo=","
        useThousandsSeparator="true"
        useNegativeSign="true"/>

[/code]

I would like to apply these to specific columns. Ideally I would also like to format the currency in red if negative or black if positive...
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Hello,

I think this link will help you to achieve all those.

http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_04.html

Thanks,
Vindys

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial