3 TableTools is a plug-in for the DataTables HTML table enhancer, which adds a highly customisable button toolbar to a DataTable. Key features include:
6 * Save table data as CSV, XLS or PDF files
7 * Print view for clean printing
8 * Row selection options
9 * Easy use predefined buttons
10 * Simple customisation of buttons
11 * Well defined API for advanced control
16 To use TableTools, first download DataTables ( http://datatables.net/download ) and place the unzipped TableTools package into a `extensions` directory in the DataTables package (in DataTables 1.9- use the `extras` directory). This will allow the pages in the examples to operate correctly. To see the examples running, open the `examples` directory in your web-browser.
21 TableTools is initialised using the `T` option that it adds to DataTables' `dom` option. For example:
24 $(document).ready( function () {
25 $('#example').DataTable( {
26 dom: 'T<"clear">lfrtip'
32 # Documentation / support
34 * Documentation: http://datatables.net/extensions/tabletools/
35 * DataTables support forums: http://datatables.net/forums
40 If you fancy getting involved with the development of TableTools and help make it better, please refer to its GitHub repo: https://github.com/DataTables/TableTools