1
0
mirror of https://gitee.com/coder-xiaomo/flashsale synced 2025-09-12 15:01:39 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
Files
flashsale/frontend/static/assets/global/plugins/data-tables/tabletools
..
2022-03-01 21:24:58 +08:00
2022-03-01 21:24:58 +08:00
2022-03-01 21:24:58 +08:00
2022-03-01 21:24:58 +08:00
2022-03-01 21:24:58 +08:00
2022-03-01 21:24:58 +08:00

# 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. 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:

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


# Documentation / support

* Documentation: http://datatables.net/extensions/TableTools/
* DataTables support forums: http://datatables.net/forums


# 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