Printing a DataTables table so thatonly Print button is seen in User Interface, haven't succeeded...
Printing a DataTables table so thatonly Print button is seen in User Interface, haven't succeeded...
MichaelLand
Posts: 26Questions: 0Answers: 0
Hello, is it possible to have only the Print button in User Interface when printing a DataTables table using DataTables plugin?
I have tried everything to get only the Print button to UI but allways PDF, Excel etc buttons comes there.
I found a discussion in following URL but couldn't get it working so that only Print button could be seen.
http://datatables.net/forums/discussion/6484/solved-getting-only-print-button./p1
Can anyone please give me information how to do this or a sample where is only one Print button which shows PrintPreView and then accepts user to print Datatable from Browser?
Thank you,
Best Regards
Michael
I have tried everything to get only the Print button to UI but allways PDF, Excel etc buttons comes there.
I found a discussion in following URL but couldn't get it working so that only Print button could be seen.
http://datatables.net/forums/discussion/6484/solved-getting-only-print-button./p1
Can anyone please give me information how to do this or a sample where is only one Print button which shows PrintPreView and then accepts user to print Datatable from Browser?
Thank you,
Best Regards
Michael
This discussion has been closed.
Replies
You can use the aButtons option of TableTools to do that: http://datatables.net/release-datatables/extras/TableTools/alter_buttons.html
Allan
How about then if I want to change e.g. word in button 'Print' to other language e.g. German or French, is that possible?
Br
Michael
The full set of examples and documentation can be found here: http://datatables.net/extras/tabletools/examples
Allan