print buttons and relative path

print buttons and relative path

datatradersdatatraders Posts: 7Questions: 0Answers: 0

I've the same problem like in https://datatables.net/forums/discussion/31227/print-button-and-absolute-paths
and I found a solution.

why not use

$('a').each( function (i, link) {
    link.setAttribute( 'href', _relToAbs( link.getAttribute('href') ) );
} );

in DataTable.ext.buttons.print.acions

This discussion has been closed.