Custom print title based on a column value
Custom print title based on a column value
In my project, I have to print a table that has hundreds of row consists of.
"Name", "Position", "Office Address", "Age", "Start Date", "Salary"
Datatables print a title only in first page but I have to add title in every page. In every office location there is many user and I have to add a custom title each page based on ''Office" location, and add a page break when all users of a office location is printed and then print new office's user to a separate page and add 'Office' name as custom title.
Is there any way to do that? any help is appreciated.
Sample JSFIDDLE
Answers
https://jsfiddle.net/eLLc2hoc/2/