Readme.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # TableTools
  2. TableTools is a plug-in for the DataTables HTML table enhancer, which adds a highly customisable button toolbar to a DataTable. Key features include:
  3. * Copy to clipboard
  4. * Save table data as CSV, XLS or PDF files
  5. * Print view for clean printing
  6. * Row selection options
  7. * Easy use predefined buttons
  8. * Simple customisation of buttons
  9. * Well defined API for advanced control
  10. # Installation
  11. 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.
  12. # Basic usage
  13. TableTools is initialised using the `T` option that it adds to DataTables' `dom` option. For example:
  14. ```js
  15. $(document).ready( function () {
  16. $('#example').DataTable( {
  17. dom: 'T<"clear">lfrtip'
  18. } );
  19. } );
  20. ```
  21. # Documentation / support
  22. * Documentation: http://datatables.net/extensions/TableTools/
  23. * DataTables support forums: http://datatables.net/forums
  24. # GitHub
  25. 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