<?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'
} );
} );
]]>
</js>
<title lib="TableTools">Basic initialisation</title>
<info><![CDATA[
This example shows the basic initialisation of TableTools by simply including the `dt-string T` option in DataTables' `dt-init dom` parameter. This tell DataTables to insert the TableTools toolbar in that location. Remember to include the Javascript and CSS source files as well!
It is worth noting that you might need to [set the `sSwfPath` parameter](swf_path.html) to tell TableTools where to find the SWF file for copy and file save.
]]></info>
</dt-example>
|