how to print in footer of each page pagewise sum of columns
how to print in footer of each page pagewise sum of columns
yervaakshay
Posts: 2Questions: 1Answers: 0
onclick print button I want on each page of footer, sum of columns records
This discussion has been closed.
Answers
Hi @yervaakshay ,
Here's a footer example: https://datatables.net/examples/advanced_init/footer_callback.html
And an example for print buttons: https://datatables.net/extensions/buttons/examples/print/simple.html
Cheers,
Colin
Hi yervaakshay, I think that in your print object you have to set the footer property to true. Like
Be sure that you actually have a footer on your table or else your print will throw an error and you may end up banging your head against a wall for several hours before you figure out why. Happened to a friend of mine :-)
Shay
thanks for your response friends,
but I implemented these all,
Now I want on print page sum of columns records in footer on each pages