[mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Thursday, November 30, 2006 5:23 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Can't get value after labelfunction
Ok, I have it working
First your dataProvider item objects do NOT have properties for all
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Can't get value after labelfunction
Thanks for trying Tracy. Any ideas of what route I should go?
Thanks,
Ben
--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Tracy Spratt [EMAIL PROTECTED] wrote:
While this method works, I
@yahoogroups.com
Subject: RE: [flexcoders] Re: Can't get value after labelfunction
Absolutely. Use a custom item object as I proposed earlier. I'll have
an example on CFLEX.NET in an hour or so.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED
Thanks Ben and Tracy,
I was thinking that I might need to use an item renderer but was
hoping to not have to. I just struggled with using them to implement a
checkbox into the DataGrid. I still don't get how to write them
effectively. I need to do some more reading to try and get a better grip.
:[EMAIL PROTECTED] On
Behalf Of bsdensmore
Sent: Thursday, November 30, 2006 8:32 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Can't get value after labelfunction
Thanks Ben and Tracy,
I was thinking that I might need to use an item renderer but was
hoping to not have to. I just
@yahoogroups.com
*Subject:* [flexcoders] Re: Can't get value after labelfunction
Thanks Ben and Tracy,
I was thinking that I might need to use an item renderer but was
hoping to not have to. I just struggled with using them to implement a
checkbox into the DataGrid. I still don't get how to write them
[mailto:[EMAIL PROTECTED] On
Behalf Of bsdensmore
Sent: Thursday, November 30, 2006 8:32 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Can't get value after labelfunction
Thanks Ben and Tracy,
I was thinking that I might need to use an item renderer but was
hoping to not have
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Anatole Tartakovsky
Sent: Thursday, November 30, 2006 2:01 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Can't get value after labelfunction
Tracy,
I am not sure
@yahoogroups.com
Subject: [flexcoders] Re: Can't get value after labelfunction
I keep going in circles with this. If I don't use the ClassFactory I
can get the calculations to work but I can't figure out how to send
the value back to the dataProvider. If I try to use the ClassFactory
and set my
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of bsdensmore
Sent: Thursday, November 30, 2006 1:58 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Can't get value after labelfunction
I keep going in circles with this. If I don't use the ClassFactory I
can
@yahoogroups.com
Subject: [flexcoders] Re: Can't get value after labelfunction
yes, they do.
I'm just doing a very small example to get my head around this. I
actually took the ClassFactory stuff out and went to using the
itemrenderer as is. It works but now I'm running into the issue of my
datagrid losing
, November 30, 2006 4:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Can't get value after labelfunction
yes, they do.
I'm just doing a very small example to get my head around this. I
actually took the ClassFactory stuff out and went to using the
itemrenderer as is. It works but now
Of bsdensmore
Sent: Thursday, November 30, 2006 4:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Can't get value after labelfunction
yes, they do.
I'm just doing a very small example to get my head around this. I
actually took the ClassFactory stuff out and went
it on CFLEX.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of bsdensmore
Sent: Thursday, November 30, 2006 4:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Can't get value after labelfunction
yes, they do
: [flexcoders] Re: Can't get value after labelfunction
Thanks Tracy.
Like I said, it is working now but I'm running into the issue with
scrolling. I thought overriding the data() method was supposed to stop
that from happening. But, maybe because I'm not dispatching an event
from the itemrenderer
: Thursday, November 30, 2006 5:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Can't get value after labelfunction
instead of adding the calculation to the value object, which is scoped
locally, try adding it to the data object:
super.data.net_lbs = total;
--- In flexcoders
do it differntly.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Thursday, November 30, 2006 5:23 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Can't get value after labelfunction
Tracy is right, you should use an itemRenderer for this.
calculatedValueRenderer should override the data method (like all good
little renderers do :)) and in the method retrieve the values to be
calculated as well as updating the calculated value in the
dataProvider. Using the ClassFactory
18 matches
Mail list logo