Really wouldn't advise using this type of in-line approach for a checkBox itemRenderer. Alex's blog shows a prefered manner:
http://blogs.adobe.com/aharui/item-renderers/ <http://blogs.adobe.com/aharui/item-renderers/> -TH --- In flexcoders@yahoogroups.com, Agha Mehdi <aghaime...@...> wrote: > > it's giving me below error > Description Resource Path Location Type > Could not resolve <mx:Component> to a component implementation. comp.mxml > Flex_FB/src line 238 Flex Problem > > > <mx:DataGridColumn headerText="" dataField="select" sortable="false" > editable="false" resizable="false" textAlign="center"> > <mx:itemRenderer> > <mx:Component> > <mx:CheckBox change="outerDocument.brigFiles_clickHandler(event)" /> > </mx:Component> > </mx:itemRenderer> > </mx:DataGridColumn> > > Thanks > > On Thu, Oct 15, 2009 at 8:55 AM, Agha Mehdi aghaime...@... wrote: > > > Thanks guys. how do i get the list of all checked rows from the datagrid? > > > > > > On Thu, Oct 15, 2009 at 7:14 AM, Nick Middleweek n...@...wrote: > > > >> > >> > >> Ah ok... Thanks Tracy... > >> > >> Is that a bit like Application.application ? > >> > >> > >> > >> > >> 2009/10/15 Tracy Spratt tr...@... > >> > >>> > >>> > >>> An item renderer is a component and has its own scope. "outerDocument" > >>> is a reference to the renderer's parent document. You use it to access > >>> public properties of the parent. > >>> > >>> > >>> > >>> Tracy Spratt, > >>> > >>> Lariat Services, development services available > >>> > >> > >> > >> > >> > > > > >