Alpha Software is focused on enabling developers to create robust, data-driven business applications that run on any PC, Tablet or Smartphone in the fastest, most efficient and cost-effective manner possible.

Share this blog:

Wednesday, November 17, 2010

How to total values in a column using JavaScript

If your end user is dealing with a lot of numbers in their application, whether it's prices or quantities, they might benefit from having a running total of the values they select. For instance, when your end user selects a row using a checkbox, the value in that row is added to the running total in a free-form edit region.

Check the whole column, just a few, or uncheck a row. Or whatever you like. The numbers will constantly update to reflect the correct value. To get these number calculating, you need to create a client-side JavaScript event. Watch the video to learn how to create one that will fire every time the end user selects a row.


Related Posts Plugin for WordPress, Blogger...