12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?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><. This example shows how to set the button text as required.
-
- ]]></info>
-
- </dt-example>
|