Hey Angleo,

Just curious here but what's the outerDocument. prefix for on the change
event for?


Cheers,
Nick




2009/10/15 Angelo Anolin <angelo_ano...@yahoo.com>

>
>
> Agha,
>
> You need to use Itemrenderer to render your checkbox control inside your
> gridview:
>
> <mx:DataGridColumn headerText="Testing" width="100" textAlign="center">
>   <mx:itemRenderer>
>     <mx:Component>
>       <mx:CheckBox label="Test" change="outerDocument.checkbox_changed()"
> />
>     </mx:Component>
>   </mx:itemRenderer>
> </mx:DataGridColumn>
>
> and then in your script section, declare a function (i.e.
> checkbox_changed())
>
> public function checkbox_changed() :void
> {
>   Alert.show('Test');
> }
> When you check/uncheck your checkbox on the datagrid, the alert message
> should show.
>
> I hope this helps.
>
> Angelo
>
>
>

Reply via email to