1 person found this helpful
I think you might be using advancedDatagrid whereone column is sum field. make your objects bindable I mean if you are using value object make it bindable. After any changes it will automatically will refresh ur data as it is bindable.
For Events use itemclick event of datagrid and write your logic in it.
Hope it will solve your problem!!!
I am just using the Flex datagrid and not the advanced datagrid.
Then in any of following events you can add ur logic . It depends upon ur requirement .
Bind that column with variable. update that variable in any of the above events.
Hope you got my point!!!
To clarify, do you have a single summary row at the bottom of the grid OR are you summing the contents of the rows in displaying the sums in a column?
So here's how the scenario is setup...I have two summary rows and their data is pre calculated and then when the user changes any cell in the grid all the cells values change whether they are in the summary rows or others. So any cell value changes all the rest of the values are affected.
I hope you can understand my issue.