I learned a tremendous amount watching Steve Malmgren's ""Look Ma, No Buttons! - The Next Generation of Customizer in Sage MAS 90 and 200"" videos. You can find them on the Sage Community Forum under Personalization, Customization and Productivity Tools.
If your calculation relies on more than one field that could be modified in the data entry grid I would use the table pre-write event.