Re: [flexcoders] DataGrid.labelFunction

2005-05-17 Thread JesterXL
2 columnName=col2 / /mx:Array /mx:columns /mx:DataGrid /mx:Application - Original Message - From: JesterXL [EMAIL PROTECTED] To: Flexcoders flexcoders@yahoogroups.com Sent: Tuesday, May 17, 2005 4:19 PM Subject: [flexcoders] DataGrid.labelFunction I cannot get this to work

RE: [flexcoders] DataGrid.labelFunction

2005-05-17 Thread Jose Lora
Subject: [flexcoders] DataGrid.labelFunction I cannot get this to work. I've tried: my_datagrid.labelFunction = Delegate.create(this, onMyLabelFunction); my_datagrid.labelFunction = onMyLabelFunction; As well as through the attribute in the datagrid tag: mx:DataGrid labelFunction

Re: [flexcoders] DataGrid.labelFunction

2005-05-17 Thread JesterXL
Can someone explain why this doesn't work with the labelFunction? ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"mx:Script![CDATA[ import mx.utils.Delegate; function test(item, colName){return "cow";} function doStuff(){var d =

Re: [flexcoders] DataGrid.labelFunction

2005-05-17 Thread JesterXL
something horribly obvious. Anyone have a mx.controls.listclasses.SelectableRow.as file to send me for Flex so I can see? - Original Message - From: JesterXL To: flexcoders@yahoogroups.com Sent: Tuesday, May 17, 2005 4:57 PM Subject: Re: [flexcoders] DataGrid.labelFunction Can