Can I open print window in same tab?

Can I open print window in same tab?

Chitranshu_GuptaChitranshu_Gupta Posts: 1Questions: 1Answers: 0

var print = {
"extend" : 'print',
"text" : '<i class="fa fa-print" aria-hidden="true" style="color:#636363;"></i><span style="float:right">Print</span>',
titleAttr : 'Print visible rows',
title:title,
exportOptions: {
columns: columnsArray
}
};

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin

    Not with the built in print button. It uses window.open to create a new document which it can draw the table into and then dispose of.

    Allan

This discussion has been closed.