mirror of https://github.com/ColorlibHQ/gentelella
27 lines
900 B
XML
Executable File
27 lines
900 B
XML
Executable File
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<dt-example table-type="html" order="13">
|
|
|
|
<css lib="datatables tabletools" />
|
|
<js lib="jquery datatables tabletools">
|
|
<![CDATA[
|
|
$(document).ready(function() {
|
|
$('#example').DataTable( {
|
|
dom: 'T<"clear">lfrtip',
|
|
tableTools: {
|
|
"aButtons": [ "copy", "print" ]
|
|
}
|
|
} );
|
|
} );
|
|
]]>
|
|
</js>
|
|
|
|
<title lib="TableTools">Button arrangement</title>
|
|
|
|
<info>< or [customised buttons](http://datatables.net/extensions/tabletools/button_options). The example below shows how TableTools can be initialised to provide only the 'copy-to-clipboard' and 'print view' options (i.e. no save to local file option is available).
|
|
|
|
]]></info>
|
|
|
|
</dt-example>
|