I have an actionscript 3 class that defines columns in a datagrid and
then dynamicaly updates the datagrid with the new columns. It works
fine until I try to add a column with a itemrenderer it gives me an
error:
Implicit coercion of a value of type Class to an unrelated type
mx.core:IFactory.
Here is the offending code:
_categoryColumn.dataField = "category";
_categoryColumn.headerText = "Categroy";
_categoryColumn.width = 80;
_categoryColumn.editable = true;
_categoryColumn.editorDataField = "value";
_categoryColumn.itemRenderer = gridCombo; ***** error line
gridCombo is a combobox component.
Thanks
Lawdog