KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

CloudExport Page Break #1001

Open James Caws opened this topic on on Jul 19, 2019 - 1 comments

James Caws commented on Jul 19, 2019

Hi. Is it possible to force page-breaks / new pages when using CloudExport?

In my HTML I have tried:

<div class="page-break"></div>

Thank you!

KoolReport commented on Jul 21, 2019

You add this css to your page:

@media print
{
    .page-break
    {
        display:block !important;
        width:0px !important;
        height:0px !important;
        page-break-before: always !important;
    }
    .no-break
    {
        page-break-inside: avoid;
    }
    body
    {
        zoom:_zoom_ !important;
    }
}

and then you can use the page-break class

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed

CloudExport