print preview message time delay

print preview message time delay

remsyremsy Posts: 10Questions: 0Answers: 0
edited March 2011 in TableTools
Hi. How can I increase the time delay for the print preview message? I want to give users sometime to understand that they need to press escape to leave print mode. Thanks.

Replies

  • grobertsgroberts Posts: 2Questions: 0Answers: 0
    Hello. I am also interested in increasing the time delay for the print message but I haven't been able to find where to do that. Thanks.
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    There isn't a configuration option at the moment - but here is where it can be controlled in the source: https://github.com/DataTables/TableTools/blob/master/media/js/TableTools.js#L1699

    Allan
  • grobertsgroberts Posts: 2Questions: 0Answers: 0
    Thanks for the quick response Allan. That worked.
  • cactuswebcactusweb Posts: 1Questions: 0Answers: 0
    Hi I have been trying to increase the time that it is displayed on the screen. Is it on line 1819?
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Yes - it is currently 2 seconds. Change that value to suit.

    Allan
  • Kiwi3685Kiwi3685 Posts: 1Questions: 0Answers: 0
    Is this an option you are likely to be able to add in the near future? Changing the source is easy enough, but having to do it every upgrade is something I prefer to avoid.
This discussion has been closed.