Thank you Alex and Amy for clarification.
Angelo
From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Fri, 16 April, 2010 22:51:20
Subject: Re: [flexcoders] Re: Reuse a LabelFunction
Amy is saying you could
: Amy amyblankens...@bellsouth.net
To: flexcoders@yahoogroups.com
Sent: Fri, 19 March, 2010 9:13:38
Subject: [flexcoders] Re: Reuse a LabelFunction
--- In flexcod...@yahoogro ups.com, Angelo Anolin angelo_anolin@ ... wrote:
Hi FlexCoders,
I have created a labelfunction which I use in my
it in other datagrid
columns? I hope you could provide some samples. thanks.
Angelo
From: Amy amyblankens...@...
To: flexcoders@yahoogroups.com
Sent: Fri, 19 March, 2010 9:13:38
Subject: [flexcoders] Re: Reuse a LabelFunction
Â
could provide some samples. thanks.
Angelo
From: Amy amyblankens...@...
To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
Sent: Fri, 19 March, 2010 9:13:38
Subject: [flexcoders] Re: Reuse a LabelFunction
Â
--- In flexcod...@yahoogro
Hi Alex,
Appreciate if you could show a little example.
Thanks.
Angelo
From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Fri, 16 April, 2010 12:29:57
Subject: Re: [flexcoders] Re: Reuse a LabelFunction
--- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote:
Hi Amy,
But as you can see in the function, I am specifying the Datafieldname from
the object which was passed.
How can I make it more generic so that I can re-use it in other datagrid
columns? I hope you
Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Fri, 16 April, 2010 12:29:57
Subject: Re: [flexcoders] Re: Reuse a LabelFunction
If it were me, I would subclass DataGridColumn and add the labelfunction to the
subclass. Then it has the DGC’s context like
--- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote:
Hi FlexCoders,
I have created a labelfunction which I use in my datagrid to format the
display value.
mx:DateFormatter id=df formatString=DD/MM/ /
And this is the AS function
private function
it be inline as well?
Thanks.
Angelo
From: valdhor valdhorli...@...
To: flexcoders@yahoogroups.com
Sent: Wed, 17 March, 2010 14:41:19
Subject: [flexcoders] Re: Reuse a LabelFunction
Use an itemRenderer instead.
If you need help creating one, let me know
Use an itemRenderer instead.
If you need help creating one, let me know.
--- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote:
Hi FlexCoders,
I have created a labelfunction which I use in my datagrid to format the
display value.
mx:DateFormatter id=df
Should be df.format(item[col.dataField])
On 3/17/10 1:41 PM, valdhor valdhorli...@embarqmail.com wrote:
Use an itemRenderer instead.
If you need help creating one, let me know.
--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ,
Angelo Anolin angelo_ano...@... wrote:
Subject: Re: [flexcoders] Re: Reuse a LabelFunction
Should be df.format(item[ col.dataField] )
On 3/17/10 1:41 PM, valdhor valdhorlists@ embarqmail. com wrote:
Use an itemRenderer instead.
If you need help creating one, let me know.
--- In flexcod...@yahoogro ups.com
@yahoogroups.com
Sent: Wed, 17 March, 2010 14:41:19
Subject: [flexcoders] Re: Reuse a LabelFunction
Use an itemRenderer instead.
If you need help creating one, let me know.
--- In flexcod...@yahoogro ups.com, Angelo Anolin angelo_anolin@ ... wrote:
Hi FlexCoders,
I have created
13 matches
Mail list logo