const {Report} = require('./fluentreports/lib/fluentReports.js');
new Report('test.pdf')
.data({})
.pageHeader(r => {
r.print('Page Header');
})
.detail(r => {
for (let i = 0; i < 40; i++) {
r.print(`Report Detail ${i}`);
}
})
.finalSummary(r => {
for (let i = 0; i < 10; i++) {
r.print(`Report Final Summary ${i}`);
}
})
.render(err => {
if (err) throw err;
});
I was expecting my page header to appear on the second page caused by my final summary, but the page header only appears on the first page. Is this the actual expectation or a bug?
test.pdf
With this example:
I was expecting my page header to appear on the second page caused by my final summary, but the page header only appears on the first page. Is this the actual expectation or a bug? test.pdf