21
Views
2
Comments
Page Break  after table widget| Traditional

Hello,

Need to implement page break on UI screen (preview pdf). Can anyone suggest how to implement page break after a table widget in traditional.

2023-08-28 09-08-29
Venkatesh Sundarajan

Hi Pujitha,

You can try with this below CSS,

Keep this CSS in your Screen/ webblock where your print content is present,

@media print {  .pagebreakelement {page-break-after: always;  } 

pagebreakelement is the class, you can apply on the container after which you want to use page break.

Reference link: https://www.w3schools.com/csSref/pr_print_pageba.asp

Are you using any component or directly printing with javascript code?

2022-09-27 05-23-26
Mohammad Shoeb

Hi Pujitha,

You can use NewLine() action in expression to make a line break.


Hope this helps,


Regards,

Shoeb

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.