On 2/6/06, Jonathan Miranda <[EMAIL PROTECTED]> wrote:

> So I decided to mess around with the new inline cell-renderers…and having 
> issues getting at their data. Pretty simple example…
>
>  <mx:DataGridColumn textAlign="center" columnName="compare" sortable="false" 
> headerText="Compare" width="75">
>
> <mx:cellRenderer>
>
> <mx:Component>
>
> <mx:HBox width="100%" horizontalAlign="center">
>
> <mx:CheckBox id="myCheckie"/>
[snip]

>  So I've tried everything I think of attempting to find out if the checkbox 
> is selected or not, using either "compare" or "myCheckie"….anyone know how? 
> Just want a checkbox and the ability to find out by actionscript if it's 
> checked or not (running through the whole datagrid).

I think you want to set the CheckBox as a "cellEditor" and associate
it with a field in the data provider.  Then you can simply find out if
a row was checked by looking at the data provider.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to