RE: [flexcoders] Re: Can't get value after labelfunction

2006-12-01 Thread Tracy Spratt
To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.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 three columns, only the item weight column. So this condition

RE: [flexcoders] Re: Can't get value after labelfunction

2006-12-01 Thread Tracy Spratt
@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

RE: [flexcoders] Re: Can't get value after labelfunction

2006-11-30 Thread Tracy Spratt
An item renderer will certianly work and there are a lot of examples available. The process will be exactly the same as for the checkbox renderer yo have worked with, so it will be much easier this time (assuming you got the checkbox renderer working correctly! If not, I have an example on

Re: [flexcoders] Re: Can't get value after labelfunction

2006-11-30 Thread Anatole Tartakovsky
Tracy, I am not sure which one occasion you are referring as I was out of public forums for a while. Most likely it was one of these 2: 1. Assuming you have DTO/valueObject of this structure class LineItemDTO { public var price:Number; public var quantity:Number; } I would recommend to

RE: [flexcoders] Re: Can't get value after labelfunction

2006-11-30 Thread Tracy Spratt
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

RE: [flexcoders] Re: Can't get value after labelfunction

2006-11-30 Thread Tracy Spratt
First: Does your dataProvider (the item objects specifically) have a property for each of the three columns? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bsdensmore Sent: Thursday, November 30, 2006 1:58 PM To:

RE: [flexcoders] Re: Can't get value after labelfunction

2006-11-30 Thread Tracy Spratt
Oops, guess I'm not looking close enough, I see the text control. Again, I'll post with any success. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bsdensmore Sent: Thursday, November 30, 2006 4:07 PM To:

RE: [flexcoders] Re: Can't get value after labelfunction

2006-11-30 Thread Tracy Spratt
Ah, HBox won't work by itself because it is a container, not a control. I am working with your example right now, I'll post when I have any success. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bsdensmore Sent: Thursday,

RE: [flexcoders] Re: Can't get value after labelfunction

2006-11-30 Thread Tracy Spratt
Ok, I have it working First your dataProvider item objects do NOT have properties for all three columns, only the item weight column. So this condition: if (value.claimed != null ... will always be false and the calculation will not happen. Add the other two columns to the

RE: [flexcoders] Re: Can't get value after labelfunction

2006-11-30 Thread Tracy Spratt
No, its not that complicated, just a bug in your sample code. See my other reply. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bsdensmore Sent: Thursday, November 30, 2006 5:12 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: Can't get value after labelfunction

2006-11-30 Thread Tracy Spratt
I think he should be fine using the value:Object argument variable, because, being an object, it is passed by reference. This is working fine in my sample. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Darin Kohles Sent:

RE: [flexcoders] Re: Can't get value after labelfunction

2006-11-30 Thread Tracy Spratt
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