Not from that description.  If you get a runtime error, make sure you
have -debug or -verbose-stacktraces in your compile options.  You will
get line numbers in your stack output and then you should post the full
stack output.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of markgoldin_2000
Sent: Monday, March 31, 2008 10:57 AM
To: [email protected]
Subject: [flexcoders] Re: headerRenderer question

 

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
<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] <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> In theory, with some subclassing, yes.
> 
> 
> 
> ________________________________
> 
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>

[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of markgoldin_2000
> Sent: Monday, March 31, 2008 10:41 AM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] headerRenderer question
> 
> 
> 
> Can I use dataGrid as a column's custom headerRenderer?
> 
> Thanks
>

 

Reply via email to