Group aggregation
Group aggregation
ivchooo
Posts: 8Questions: 5Answers: 0
Hi, I use grouping as is showed in the example
https://datatables.net/examples/advanced_init/row_grouping.html
But I want to add aggregation for a particular group.
Any suggestions ?
This discussion has been closed.
Answers
Currently you'd need to modify that code to add the summation or whatever it is that you want to do to that code.
I'm planning on writing a row grouping plug-in at some point that will help with that kind of thing.
Allan
Ok, I write a js function to sum the result and add it in the initComplite but it does not work good with paging
You probably need to use a
row-selector
to make sure that you only select rows from the current page (assuming that is the issue).Allan