Is there some way to add a “totals” row to the datatable? E.g., let’s say, I am displaying the number of flies in different rooms of a house:
What I would like to do is add a “totals” row (which I am happy to provide data for myself—there is no need for magical aggregators doing any magic) that would looks like this:
What makes this row special is that it is:
- excluded from sorting and
- perhaps styled differently, e.g. like a second header row.
I think I can do the styling myself, but I do not know how to exclude the row from sorting. Any advice?