1 Reply Latest reply on Dec 4, 2007 12:37 PM by ntsiii

    Datagrid with calculated column

    Level 1
      Hi all,

      Does anyone know how or where I might learn to create a calculated field in a DataGrid?

      Flex 2
        • 1. Re: Datagrid with calculated column
          ntsiii Level 3
          There are several ways, depending on what you want.

          Easiest is to use a labelFunction() instead of a dataField.

          A custom item renderer is another way.

          Yet a third way is to have your dataProvider be a collection of custom value objects, one of which is the calculated value.