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.com](https://secure.gravatar.com/avatar/0ecdaafcc76562389fadded258d2c804/?default=https%3A%2F%2Fvanillicon.com%2F0ecdaafcc76562389fadded258d2c804_200.png&rating=g&size=120)
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:
This discussion has been closed.
Answers
This example shows using the
footerCallback
to display totals of columns. Instead for totaling a column you could userow().data()
to get the data of the row you are interested in. Or maybefilter()
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
I think Kevin forgot the link there - this is a similar one along the same lines.
Thanks Kevin and Colin, this is exactly what i was looking for.