
How to supress the footer facet on all but the last page of paginated pageBlockTable rendered as PDF
답변 3개
Hello,
To stop the footer from repeating, you should
remove the <apex:facet name="footer"> tags from inside the table and place your totals in a separate <div> or <table> immediately following the </apex:pageBlockTable>.This works because the -fs-table-paginate property specifically forces <thead> and <tfoot> elements (which facets generate) to repeat on every page break; moving the data outside the table context ensures it only renders once at the very end of your data list.