1 Reply Latest reply on Jan 5, 2007 5:14 PM by ntsiii

    how can i get additional informations from an dataprovider

    alfred_jun
      Hi

      I have a ArrayCollection with following information:
      Name: entry1, color: red
      Name: entry2, color: grey
      Name: entry3, color: grey

      this ArrayCollection is my dataprovider and now i wanted to use him like this:

      <mx:DataGridColumn backgroundColor="color" textAlign="left" headerText="name" dataField="name"/>
      or
      <mx:DataGridColumn backgroundColor="{color}" textAlign="left" headerText="name" dataField="name"/>
      or
      <mx:DataGridColumn backgroundColor="{data.color}" textAlign="left" headerText="name" dataField="name"/>

      but i can not get the color from "dataProvider". Debugger says value is NULL. I don't know what to do.
      Does someone know how i can get the information from the dataprovider?
      thanks