Hello. Please recommend me how to insert a page break in html when using a single element <div id="get_here"</div> (the split into several option is not suitable, like here https://docs.dhtmlx.com/gantt/desktop__multiple_gantts.html )?
I need to make a page break when printing, based on the calculated height, but not where the browser makes a page break. I noticed that the id of each task is repeated in elements with classes data-task-id, data-row-index, data-link-id. So I added an element of the form <div class="break" style="display:block; page-break-after: always;"> after each of these elements. But the page break is not performed. What could be the problem?