DataTables 和 TableTools 插件有什么区别?
What is the difference between DataTables and TableTools plug-in?
我知道TableTools是DataTables的插件,DataTables是jQuery的插件。两者都提供通用功能,例如复制、导出打印件。
那它们有什么区别呢?什么时候应该使用一个而不是另一个?
TableTools 是 DataTable 的扩展。 DataTable Extensions 基本上用于增强 DataTable 插件的功能,就像现在我们有 Responsive, RowGroup extensions. You can find more extensions here.
DataTable 及其扩展都使用 JQuery 来实现。它们之间的唯一区别是 DataTable Extensions 仅适用于 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
但它已停用,其文档可在 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.
我知道TableTools是DataTables的插件,DataTables是jQuery的插件。两者都提供通用功能,例如复制、导出打印件。
那它们有什么区别呢?什么时候应该使用一个而不是另一个?
TableTools 是 DataTable 的扩展。 DataTable Extensions 基本上用于增强 DataTable 插件的功能,就像现在我们有 Responsive, RowGroup extensions. You can find more extensions here.
DataTable 及其扩展都使用 JQuery 来实现。它们之间的唯一区别是 DataTable Extensions 仅适用于 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
但它已停用,其文档可在 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.