Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82311

Print title on each page based on a column value

$
0
0

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 https://jsfiddle.net/eLLc2hoc/2/


Viewing all articles
Browse latest Browse all 82311

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>