Can somebody share if there is an option to sum the numbers in a specific row.

Can somebody share if there is an option to sum the numbers in a specific row.

sahayvivek28@gmail.comsahayvivek28@gmail.com Posts: 2Questions: 1Answers: 0

Can somebody share if there is an option to sum the numbers in a specific row and display total in footer.

This question has accepted answers - jump to:

Answers

  • kthorngrenkthorngren Posts: 21,310Questions: 26Answers: 4,948
    edited March 2019 Answer ✓

    This example shows using the footerCallback to display totals of columns. Instead for totaling a column you could use row().data() to get the data of the row you are interested in. Or maybe filter() to get the row data. Its hard to say how you would get the row data without knowing the criteria of choosing the row.

    Kevin

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    I think Kevin forgot the link there - this is a similar one along the same lines.

  • sahayvivek28@gmail.comsahayvivek28@gmail.com Posts: 2Questions: 1Answers: 0

    Thanks Kevin and Colin, this is exactly what i was looking for.

This discussion has been closed.