There's no easy way to find out the exact moment you've been added to the DG, but you can probably detect when some of its methods get called. The mx_internal owner property points to the DG and you can listen for collection changes that way
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of reflexactions Sent: Wednesday, January 09, 2008 4:52 AM To: [email protected] Subject: [flexcomponents] Re: Custom Column component This is not a custom renderer... Its a custom column...... i.e. A DataGridColumn and AdvancedDataGridColumn subclass and it needs to know about all the column data to do some funky initialisation stuff. tks --- In [email protected] <mailto:flexcomponents%40yahoogroups.com> , "Roman Protsiuk" <[EMAIL PROTECTED]> wrote: > > If data provider is changed (set) column renderer's property data > should be set (dataChange property event fired). > Item renderer as I see it shouldn't know of "parent data provider". It > handles data instead. > > R. > > On Jan 9, 2008 2:21 PM, reflexactions <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > Is there a way in a custom column component to detect when the parent > > grids dataProvider is set or changed, and also detect when the column > > is added to a grid? > > > > tks > > > > >
