You must work with the dataProvider. The renderer must set its enabled state based on a field/property/attribute in the dataProvider in the set data() function.
When you update the dataProvider using the API, and set the enabled field/property/attribute on the desired items, the itemRenderer will automatically disable the assocated checkboxes. You cannot directly control the checkbox in the renderer, but must work with the dataProvider. Did I mention that you must work with the dataProvider? Tracy ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Whitelock Sent: Friday, February 09, 2007 8:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Controlling a Component in an Item Renderer I have an item renderer specified for a List component and there is a CheckBox component within the item renderer so that each List element displays a CheckBox. What I'd like to do is if a certain condition exists in the application I'd like to disable the item renderer's CheckBox for specific List elements (i.e. some List elements would show an enabled CheckBox and some List elements would show a disabled CheckBox depending upon what's going on in the application). Is there any way to disable the item renderer's CheckBox for a specific List element from the application? Thanks for any pointers! Paul