$(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' } } ] } } ); } );

# Custom button text

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.