"jjales" <email@example.com> wrote in
> building a custom AdvancedDataGrid, with indeed custom
> trying (at a first shot)
> something like :
> cc.headerRenderer = new AdvancedDataGridHeaderRenderer()
> I get an error like
> Implicit coercion of a value of
typeAdvancedDataGridHeaderRenderer to an
> unrelated type mx.core:IFactory
> I tryied with my custom headerrenderer, that extends
> AdvancedDataGridHeaderRenderer and implements IFactory,
and this goes ok.
> is my conclusion correct ?
(AdvancedDataGridHeaderRenderer does not
> and is there any reason why it should not ?
No, you are trying to give it an instance of
instead of a factory
cc.headerRenderer = new