Should work.  Are you getting compile errors, runtime exceptions or
empty?

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin
Sent: Thursday, March 22, 2007 6:15 PM
To: [email protected]
Subject: [flexcoders] Reference Getter in DataGrid

 

is it possible to reference a getter function as a variable in a
DataGrid?

 

Let's say I have a VO wit the following properties:

 

public var first:

public var last;

public function get fullName():string{

            return this.first+" "+this.last;

}

 

 

I can I then call this in a DataGrid column?

 

<mx:DataGridColumn dataField="fullName" headerText="full name" />

 

I can't get this to work...

 

Thanks, Kevin

 

 

 

Reply via email to