react-bootstrap-table2 icon indicating copy to clipboard operation
react-bootstrap-table2 copied to clipboard

Is there a way to assign grandtotal of a column at the footer of a table?

Open ihegde opened this issue 5 years ago • 1 comments

Hi, I am able to get the total of a column using your example here

However, when I use pagination with footer, the total shows only pagetotal. I am unable to find a way to get a summary row with the grandtotal. Here is the codesandbox sample of what I am trying to do: codesandbox sample The total for first page shows 10, total for second page shows 5, which is good. I also wanted a grandtotal that shows 15. I can do this by other ways using ReactJs code, but it gets complicated when I use filter. In that case one would like to see the grandtotal of only the filtered rows. Thanks a lot,

ihegde avatar Jun 05 '20 13:06 ihegde

Did you ever find a way to get the grandtotal?

Vincentqchen avatar Aug 22 '22 19:08 Vincentqchen