PHP Classes

File: assets/js/datatables/tools/TableTools-master/examples/button_text.xml

Recommend this page to a friend!
  Classes of Tran Tuan   Pretty PHP S3 Files Manager   assets/js/datatables/tools/TableTools-master/examples/button_text.xml   Download  
File: assets/js/datatables/tools/TableTools-master/examples/button_text.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: 1,247 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": [ { "sExtends": "copy", "sButtonText": "Copy to clipboard" }, { "sExtends": "csv", "sButtonText": "Save to CSV" }, { "sExtends": "xls", "oSelectorOpts": { page: 'current' } } ] } } ); } ); ]]> </js> <title lib="TableTools">Custom button text</title> <info><![CDATA[ You may wish to set your own text for the buttons in the TableTools toolbar, rather than relying on the default built-in text. This is done by overriding the `sButtonText` parameter of whatever button you wish to alter. The way TableTools allows you to alter a predefined button is by 'extending' it (using the `sExtends` parameter) and then setting the overriding parameter. A full list of the parameters which can be used is [available on the DataTables.net web-site](http://datatables.net/extensions/tabletools/button_options). This example shows how to set the button text as required. ]]></info> </dt-example>