Have you tried a for loop through the data object ?
What about data["column"].label notation ?

I'm at work now, can't test myself ...

 
On 4/20/06, B.Brey <[EMAIL PROTECTED]> wrote:
That is just the thing, the DataGrid differs from a List.
The "data" object your receive in an itemrenderer for a DataGrid contains data of the whole row.
I just want the cell data.
 
 
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Webdevotion
Sent: donderdag 20 april 2006 14:34
To: [email protected]
Subject: Re: [flexcoders] Custom itemrenderer in datagrid

Does this clear things out for you ?
I guess just use {data.property}.

Check out this article

snip:

<mx:itemRenderer>
  <mx:Component>
     <mx:Canvas>
       <mx:CheckBox id="complete" width="20" x="10" y="4" selected= "{data.selected}"/>
      <mx:Text id="taskname" text="{data.label}" />         
    </mx:Canvas>
  </mx:Component>
</mx:itemRenderer>


  •  To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED]
     
  •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.





    • --
      Flexcoders Mailing List
      FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
      Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




      YAHOO! GROUPS LINKS




      Reply via email to