Re: [flexcoders] Sum Column in datagrid

2006-06-28 Thread Clint Tredway
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

RE: [flexcoders] Sum Column in datagrid

2006-06-28 Thread Gordon Smith
: [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