Custom PDF Export
Custom PDF Export
I have a datatable that is a list of invoices. I have an export to PDF button on that DT. I'm wondering if there is a way to add an extra line on the PDF export that totals the invoice amounts and puts it at the bottom?
So at the bottom of this column, I just want it to say Total: with the total amount of the invoices in the report. Is that possible and if so, is there an example I can look at or how would I go about doing this?
This question has an accepted answers - jump to answer
Answers
Yep, you can use
messageBottom
frombuttons.exportInfo()
for that - it can be a function as in this example here,Colin
Colin,
You sir are awesome! Thank you so much!