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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Webdevotion
Sent: donderdag 20 april 2006 14:34
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Custom itemrenderer in datagridDoes 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>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.