This extension has now been retired and has been replaced by the Buttons and Select extensions. The documentation is retained for legacy reference only. New projects should use Buttons and Select in preference to TableTools.
If you have created any button types yourself and would like to share them, please get in touch and send me your plug-in so I can put it up on this page!
||This button will copy the table contents (in formatted text, rather than HTML) to an element with a given ID (using the 'sDiv' parameter).|
This button will create a form that is submitted to the server when the button is activated. It can be configured to use GET or POST (using the `sType` option) and the request URL is defined the `sUrl` option. This is ideal for making a request to the server that will trigger a download, for example creating a PDF using a server-side processing.
The plug-in will submit the same parameters as DataTables uses for its own Ajax request (for example server-side processing parameters) if Ajax data is enabled in DataTables. The data submitted is available in the HTTP variable `json` and is a JSON encoded representation of the data. The `fnData` option can be specified to add additional parameters to the data object if required.
Note that this plug-in requires DataTables 1.10 or newer.