renming / TableTools

TableTools plug-in for DataTables, providing export (XLS, CSV), print view and copy to clipboard

Home Page:http://datatables.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TableTools

TableTools is a plug-in for the DataTables HTML table enhancer, which adds a highly customisable button toolbar to a DataTable. Key features include:

  • Copy to clipboard
  • Save table data as CSV, XLS or PDF files
  • Print view for clean printing
  • Row selection options
  • Easy use predefined buttons
  • Simple customisation of buttons
  • Well defined API for advanced control

Installation

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.

Basic usage

TableTools is initialised using the T option that it adds to DataTables' dom option. For example:

$(document).ready( function () {
	$('#example').DataTable( {
		dom: 'T<"clear">lfrtip'
	} );
} );

Documentation / support

GitHub

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

About

TableTools plug-in for DataTables, providing export (XLS, CSV), print view and copy to clipboard

http://datatables.net/

License:Other


Languages

Language:JavaScript 85.5%Language:ActionScript 8.3%Language:CSS 5.4%Language:Shell 0.8%