What is the best way to add a column in a datagrid that is a sum of
other columns in the datagrid? For example add column C which is a sum
of A and B.
Thanks!
Yahoo! Groups Sponsor ~--
See what's inside the new Yahoo! Groups email.
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:
What is the best way to add a column in a datagrid that is a sum of
other columns in the
: [flexcoders] Sum
Column in datagrid
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
3 matches
Mail list logo