Try
ClassFactory(Column.itemRenderer).properties = ...
--- In flexcoders@yahoogroups.com, "quantum_ohm" <[EMAIL PROTECTED]>
wrote:
>
> Yes, thx Mark,
>
> It sounded fine, but you're right the 'properties' property is not
> defined via mx.core:IFactory...
> too bad ! :-(
> Maybe another tip ?
>
> --- In flexcoders@yahoogroups.com, "markgoldin_2000"
> <markgoldin_2000@> wrote:
> >
> > I wasn't correct.
> > Column.itemRenderer.properties will not work.
> >
> > --- In flexcoders@yahoogroups.com, "markgoldin_2000"
> > <markgoldin_2000@> wrote:
> > >
> > > How about something like this.
> > > //Add lsitener to your primary combobox:
> > > addEventListener("change", handleDataChanged);
> > > public function handleDataChanged(event:ListEvent):void
> > > {
> > > var Column:AdvancedDataGridColumn = new AdvancedDataGridColumn;
> > > Column = AdvancedDataGrid(listData.owner).columns[someIndex];
> > > // your condition to enable/disable, then
> > > Column.itemRenderer.properties = {enable:true};
> > > }
> > > If you want to do more then just enable/disable second combo
then
> > you
> > > could have created a setter on your secondary combobox:
> > > public function set setSomething(someData:XMLList[example]):void
> > > {
> > > //do something on your secondary combobox like
> > > enable = true; // under your condition
> > > }
> > > and then the line:
> > > Column.itemRenderer.properties = {enable:true};
> > > might look like this:
> > > Column.itemRenderer.properties = {setSomething:paramerData};
> > >
> > > Something alone these lines.
> > >
>