View Full Version : store an update

10 Sep 2009, 10:13 AM

I have a grid with a total column which changes as the column values in the row are changed(edited).. I read the docs and it tells me that the update method of a store is called AFTER the update.. but it actually seems to be called BEFORE the changes are made..

I checked with Firebug and it seems to confirm this.. the record data is the old data and the change is being hrld in the modified part of the record..

2 questions..
1 - is this right and the docs wrong or is it the other way around? Or do I not understand
2 - What is a good place to calculate the total and update the total column i have in my grid



11 Sep 2009, 6:45 AM
Try using a calculated field (http://www.extjs.com/forum/showthread.php?t=28826).