PHP Classes

File: assets/js/datatables/tools/examples/pdf_message.xml

Recommend this page to a friend!
  Classes of Tran Tuan   Pretty PHP S3 Files Manager   assets/js/datatables/tools/examples/pdf_message.xml   Download  
File: assets/js/datatables/tools/examples/pdf_message.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Pretty PHP S3 Files Manager
Web based interface to manage files in Amazon S3
Author: By
Last change:
Date: 8 years ago
Size: 808 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8" ?> <dt-example table-type="html" order="1"> <css lib="datatables tabletools" /> <js lib="jquery datatables tabletools"> <![CDATA[ $(document).ready(function() { $('#example').DataTable( { dom: 'T<"clear">lfrtip', tableTools: { "aButtons": [ "copy", "csv", "xls", { "sExtends": "pdf", "sPdfOrientation": "landscape", "sPdfMessage": "Your custom message would go here." }, "print" ] } } ); } ); ]]> </js> <title lib="TableTools">PDF message</title> <info><![CDATA[ This example shows how you can add a message to the saved PDF using the `sPdfMessage` parameter. It also shows that the orientation of the output PDF can be changed to landscape which is useful if you have a lot of columns. ]]></info> </dt-example>