That's actually right. LabelFunctions just
return a string, so most don't really care about scope. Does yours?
If so, do:
column.labelFunction = Delegate.create(this,
formatApples);
----- Original Message -----
From: Sreejith Unnikrishnan
Sent: Thursday, December 01, 2005 4:32 AM
Subject: [flexcoders] LabelFunction problem with DG built
dynamically I add columns to the datagrid var column:DataGridColumn = new DataGridColumn("Apples"); column.headerText = "Apples"; column.columnName = "apples"; column.labelFunction = formatApples; The labelFunction does not seem to work. What is the right way to assign labelFunction. Regards Sree -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS
|
- Re: [flexcoders] LabelFunction problem with DG built... JesterXL
- Re: [flexcoders] LabelFunction problem with DG ... Sreejith Unnikrishnan