How to print table with background image watermark in all pages?

How to print table with background image watermark in all pages?

ola_m_areafatola_m_areafat Posts: 6Questions: 2Answers: 0

image appears only in first page

extend: 'print',
customize: function (win) {

                    $(win.document.body)
                        .css('font-size', '10pt')
                        .prepend(
                            '<img src="http://datatables.net/media/images/logo-fade.png" style="position:absolute; top:0; left:0;" />'
                        );
                    $(win.document.body).find('table')
                        .addClass('compact')
                        .css('font-size', 'inherit');
                }

Answers

Sign In or Register to comment.