Here is what I am trying to do: var HoursSymbolsHeaderRenderer:ClassFactory = new ClassFactory; var oColumn:AdvancedDataGridColumn = new destinationCodeColumn(); HoursSymbolsHeaderRenderer = new ClassFactory(headerRendererTest); oColumn.headerRenderer = HoursSymbolsHeaderRenderer;
and just for testing headerRendererTest is: <?xml version="1.0" encoding="utf-8"?> <mx:DataGrid xmlns:mx="http://www.adobe.com/2006/mxml" editable="false"> <mx:columns> <mx:DataGridColumn> </mx:DataGridColumn> </mx:columns> </mx:DataGrid> I am getting an error: ReferenceError: Error #1069: Property null not found on yardmodel.modulecode.destinationCodeColumn and there is no default value. Any idea? --- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote: > > In theory, with some subclassing, yes. > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of markgoldin_2000 > Sent: Monday, March 31, 2008 10:41 AM > To: [email protected] > Subject: [flexcoders] headerRenderer question > > > > Can I use dataGrid as a column's custom headerRenderer? > > Thanks >

