Thanks for the reply. outerDocument could be used with inline renderers. But what if item renderers are reusable components? afaik, you cant use outerDocument in the second scenario. you too think so ?
regards, Arindam On Fri, Nov 6, 2009 at 3:42 PM, flexorz group of flex corders < flexco...@gmail.com> wrote: > you can have the varriable declaried in the parent app , and refer it with > outerDocument.variable name > google it ,there are plenty of examples. :-) > > Dinukx > > > > On Thu, Nov 5, 2009 at 12:18 PM, Arindam Dhar <arin.d...@gmail.com> wrote: > >> Hi, >> >> I have a header renderer class(CompaniesHeaderRenderer) which extends >> mx.controls.advancedDataGridClasses.Advanced DataGridHeaderRenderer, and use >> it the following way, >> >> <mx:AdvancedDataGrid Column headerText=" Companies" dataField="Companies" >> headerRenderer= "CompaniesHeader Renderer" /> >> >> I have declared a variable inside CompaniesHeaderRenderer class, which >> must be set from outside. How do I populate this var from outside? Anyone >> knows ? >> >> regards, >> >> Arindam >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---