Flexibility in print option
Flexibility in print option
Hi,
I am using print option in datatables. Whenever I click print button it removes unnecessary html content and shows only table content which is ready to take print using browser print option. Here, is that possible to call the ctrl+p functionality automatically after clicking the print button?
Please share your comments if anyone knows.
Thanks in advance.
I am using print option in datatables. Whenever I click print button it removes unnecessary html content and shows only table content which is ready to take print using browser print option. Here, is that possible to call the ctrl+p functionality automatically after clicking the print button?
Please share your comments if anyone knows.
Thanks in advance.
This discussion has been closed.
Replies
No - that would be a massive usability / security issue if browser's offered that ability. They don't have an API to do that I'm afraid.
Allan