Reputation: 3654
I know TableTools is plug-in of DataTables and DataTables is plug-in of jQuery. Both provides common functionality such as copy, export an print.
Then what is the difference between them? When one should use one over another?
Upvotes: 0
Views: 785
Reputation: 3520
TableTools is extension of DataTable. DataTable Extensions are basically used to enhance the functionality of DataTable plugin like now we have Responsive, RowGroup extensions. You can find more extensions here.
Both DataTable and its Extensions use JQuery for their implementation. Only difference between them is DataTable Extensions only work with DataTable.
TableTools 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
But It is retired and its documentation is available at Legacy DataTable
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.
Upvotes: 0