SUM values only from checked itens
SUM values only from checked itens
marcellopato
Posts: 1Questions: 1Answers: 0
I want to sum values only from the row that is checked. I am using VueJS.
Any helps?
This discussion has been closed.
Answers
This example shows how to sum columns:
https://datatables.net/examples/advanced_init/footer_callback.html
You should be able to change the
selector-modifier
of{ page: 'current'}
to{selected:true}
to sum the selected rows. See also this example:https://datatables.net/extensions/select/examples/api/get.html
Kevin