<?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<"clear spacer">T',
tableTools: {
"aButtons": [ "copy", "print" ]
}
} );
} );
]]>
</js>
<title lib="TableTools">Multiple toolbars</title>
<info><![CDATA[
Like all DataTables control elements, TableTools can have multiple instances specified in the `dt-init dom` parameter of DataTables. This will create two TableTools toolbars next to the table, providing the same functions.
An example of when this might be useful is to show the toolbar both above and below the table - as is done in this example.
]]></info>
</dt-example>
|