Page Break between each Item of an Array
-
Dears,
I would like to insert a page break (start on new page) each object in an array of objects, in other words, i want to have each item on as much papers as it needs, but the second item of the array should start on a new page.
I looked all over the web, and coulndt seem to find something working.
I am using jsreport on nodejs .
Please i need a proper guide.
Thanks in advance.
-
Use style to add page-break.
.page-break {
page-break-before: always;
}