The critical piece here is to drive the state(selected=true/false) of the check box from a property in the dataProvider, and set the value of that property when the user clicks the checkbox control. This is required because the list controls re-use the renderers whne the list is scrolled or the dtaProvider is updated.
Here is a full example: http://www.cflex.net/showFileDetails.cfm?ObjectID=559&Object=File&Channe lID=1 Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of missgiggygirl Sent: Monday, March 05, 2007 11:17 AM To: [email protected] Subject: [flexcoders] Inserting Checkbox into Datagrid Field I am populating a Datagrid with an XML file. The first field is always a 1 or 0 for whether a checkbox is present. Right now I know only how to populate the grid with whatever the data is in the XML, but now I need a little piece of logic that will dynamically insert a checkbox is required (value=1), or insert an empty space (value=0). (The general effect will be similar to an email program, like hotmail or Yahoo mail, where you have checkboxes to the left of every row/message, except a few of the rows should NOT have checkboxes.) I do not know how to add the little bit of logic that is required. Can anyone help? Thanks, Ann, the Original Giggle Girl

