Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebKit report table header on every page

Tags:

webkit

odoo

I have created web kit report for HR Timesheet Employees Attendance.I have generated report having 10 pages. But I face little problem over here,report contains a table which is continue in next pages.It is dynamic.So The problem is on the next page table header is not shown.

I want to show table header on every page if the table continues on next pages.

like image 277
Abhishek Mehta Avatar asked Dec 06 '25 05:12

Abhishek Mehta


1 Answers

Looks like table headers are a known issue with webkit. That bug report does suggest some workarounds, but they don't sound very promising.

If you decide to go back to the RML reports, the ReportLab documentation describes the repeatRows attribute for a blockTable.

The repeatRows argument specifies the number of leading rows that should be repeated when the Table is asked to split itself. The repeatCols argument is currently ignored as a Table cannot be split by column.

I haven't tried it myself, but it also appears in some of the OpenERP documentation.

like image 53
Don Kirkby Avatar answered Dec 10 '25 00:12

Don Kirkby



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!