And there's a checkbox example here:
 
http://blogs.adobe.com/aharui/2007/04/more_thinking_about_item_rende.htm
l

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Erik Price
Sent: Monday, April 16, 2007 8:25 AM
To: [email protected]
Subject: Re: [flexcoders] REPOST - Checkboxes in a DataGrid



On 4/16/07, zzberthod <[EMAIL PROTECTED] <mailto:zzberthod%40echo.fr> >
wrote:

> I just need to insert graphical elements (ex: MXML checkbox) into the
> list.
>
> Example:
> - The first column is a checkbox (for selection of the line)
> - The second is the `name' column
> - Third is `date'
>
> ----------------------------------------------
> |Select | Name | Date
> ----------------------------------------------
> | X | Justin | 01/12/07
> | | Martin | 01/15/07
> | X | John | 01/17/07
> ----------------------------------------------

You can specify an ItemRenderer when you declare your DataGrid's
columns, which can customize the appearance of a column's content.

An example using ItemRenderers:
<http://www.cflex.net/showFileDetails.cfm?ObjectID=443&ChannelID=1
<http://www.cflex.net/showFileDetails.cfm?ObjectID=443&ChannelID=1> >

Once you've played with it, read this for caveats:
<http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.h
tml
<http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.h
tml> >

e


 

Reply via email to