0 Replies Latest reply on Oct 25, 2009 7:57 AM by BastiaanWilderom

    How to format date and currency datafield in a Datagrid

    BastiaanWilderom

      Hy folks

       

      I am getting my data from a web service (against a SQL server)

      After that convert the data in an ArrayCollection and

      Finally I use the ArrayCollection in a Datagrid ussing somethig like :

       

      <mx:collumns >

      <mx:DataGridcolumn datafield="EnvoiceDate" />

      <mx:DataGridcolumn datafield="EnvoiceValue" />

       

       

      How can I format a date tipe datafield in a Datagrid.

       

      I need to display da date in an format like  DD/MM/YYYY   ex     12/10/2009.

       

      I also need to display da number like 1345.87   as  1.345,87

       

       

      thanks in advance