It might be easier to just set a
labelFunction.
And then in the labelFunction
function getSum(rowData) : String
{
var sum = Number(rowData.col1) +
Number(rowData.col1);
return sum.toString();
}
That
is flex 1.5...but you get the idea.
Karl
Cynergy Systems, Inc.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Clint Tredway Sent: Wednesday, June 28, 2006 10:23 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Sum Column in datagrid most likely you would need to make an item renderer and have it sum those
fields and display the result in the final column. On 6/28/06, Torey
Maerz < [EMAIL PROTECTED]>
wrote:
-- diabetic? http://www.diabetesforums.com Bill Cosby - A word to the wise ain't necessary - it's the stupid ones that need the advice. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- RE: [flexcoders] Sum Column in datagrid Karl Johnson
- RE: [flexcoders] Sum Column in datagrid Gordon Smith