0 Replies Latest reply on Jun 19, 2007 8:33 AM by craigw9292

    Formatting grid column data?

    craigw9292
      Hey - I want to format a grid column so it display the $. I tried the below but no luck.

      <mx:DataGridColumn headerText="Net Amount" dataField="NetAmount__c">
      <mx:itemRenderer>
      <mx:Component>
      <mx:VBox>
      <mx:CurrencyFormatter
      id="usFormat"
      alignSymbol="left"
      currencySymbol="$"
      />
      <mx:Label
      text="{usFormat.format(data)}"
      />
      </mx:VBox>
      </mx:Component>
      </mx:itemRenderer>
      </mx:DataGridColumn>

      Thanks
      Craig