Sum 2 Field

Sum 2 Field

alord84alord84 Posts: 24Questions: 15Answers: 1
edited June 2015 in DataTables

Sum

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,676Questions: 1Answers: 10,497 Site admin

    Could you elaborate a little more than a single word please? What is it that you are trying to do (or perhaps more specifically, what are you trying to sum)?

    Allan

  • alord84alord84 Posts: 24Questions: 15Answers: 1

    Basically there is a number in column A and a number in Column B. I want to sum or subtract and put that in a dataTable.

  • allanallan Posts: 63,676Questions: 1Answers: 10,497 Site admin
    Answer ✓

    Use columns.render as a function to do that. You have access to all the data points for the row in the function, so you would just sum the properties you want and return the value.

    Allan

This discussion has been closed.