This commit is contained in:
2020-09-15 20:39:42 +00:00
parent 4bb6f1f2a4
commit d8eca161e1

View File

@@ -8,9 +8,16 @@
TODO: Report confirmation checklist
- page breaks properly EXAMPLE NEEDED
I guess when it starts a new record in a big list of data or something i.e. in a list of widgets it starts a new page on a new widget
https://playground.jsreport.net/w/admin/dI2_fUqZ (for example this sample report shows <div style="page-break-before: always;"></div> which is interesting)
- scan templates, only include required js libs on render
this is the current CSS property, not the one jsreport was using: https://developer.mozilla.org/en-US/docs/Web/CSS/break-before
There are many options including ones for columns and some to prevent page breaks splitting up blocks.
<div style="break-before: page;">
<h2>{{ Name }}</h2>
<div>Notes: <span class='example'>{{ Notes }}</span></div>
</div>
old jsreport ref: https://playground.jsreport.net/w/admin/dI2_fUqZ (for example this sample report shows <div style="page-break-before: always;"></div> which is interesting)
- custom extra javascript functions EXAMPLE NEEDED
- Mailing labels
- Alternate paper sizes A4, Letter etc