Short answer, you don't.

 

More helpfully, though, you need to get used to focusing on the
dataProvider when working with data-driven controls.

 

In your case, you must ensure that the checkbox click event causes the
checkbox state to be stored in the dataProvider.

 

To determine if an item is checked, you then look at the particular
dataProvider item's property that was set.

 

There is no reasonable way to access this value from the control itself,
mainly because the data-driven controls re-use the visual elements when
you scroll.

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of jeff noyes
Sent: Tuesday, December 12, 2006 8:47 PM
To: [email protected]
Subject: [flexcoders] accessing a checkbox in datagrid

 

Im using a itemRenderer that is a checkbox. The checkbox is a component 
that is a seperate mxml file. Inside my datagrid, how do I determine if 
the checkbox is enabled?

 

Reply via email to