This question has been flagged

I want to continue the content of table on next page but when the content of the table is long, the row of the table breaks to the next page leaving the header of the table on the first page and content on the next page,which leaves behind blank space on the first page. I tried applying page-break-inside: avoid but it does not affect, even tried applying css classes but the problem remains the same.

I am using this particular class for table

class="table table-sm o_main_table"


and below style , class for Table Row

style="border-bottom:1px solid;border-top:1px solid;page-break-inside: avoid" t-att-class="'bg-200 font-weight-bold o_line_section' if line.display_type == 'line_section' else 'font-italic o_line_note' if line.display_type == 'line_note' else ''">

Avatar
Discard