How to disable Print Preview message that pops up by default on print button click?

How to disable Print Preview message that pops up by default on print button click?

blagoblago Posts: 2Questions: 1Answers: 0

Hi,

according to this http://datatables.net/extensions/tabletools/button_options there's a message:

Print view

Please use your browser's print function to print this table. Press escape when finished.

That is shown by default if someone clicks on Print button. There's a way to modify the text itself with the sInfo property.
However, I'm wondering is there a way to prevent that pop up from showing at all?

Answers

  • blagoblago Posts: 2Questions: 1Answers: 0

    I found a "dirty" way to fix it by adding:

    <style>
    .DTTT_print_info
    {
    display:none;
    }
    </style>

    However, this is far from optimal solutions so I'll thankful for other ideas/solutions =)

This discussion has been closed.