<?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": [ "copy", "print" ]
}
} );
} );
]]>
</js>
<title lib="TableTools">Button arrangement</title>
<info><![CDATA[
TableTools makes it very simple to arrange the buttons in the toolbar as you see fit. Using the `aButtons` parameter you can use any of the [predefined buttons](http://datatables.net/extensions/tabletools/buttons) 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>
|