1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-12-01 13:24:10 +01:00
DataTables is a table enhancing plug-in for the jQuery Javascript library, adding sorting, paging and filtering abilities to plain HTML tables with minimal effort. https://datatables.net/
Go to file
Allan Jardine 3e366a5fe9 New: API: fnGetData now also allows TD/TH nodes to be passed in and DataTables will figure out the data for the cell, returning that - easier than calculating the column index yourself. So you can now get the whole table's data, a row's data or an individual cell's data from the fnGetData function (you could get the cell data before, but you would need to use fnGetPosition).
New: API: Underscore function updated to use fnGetData rather than its internal function calls. Although slightly more expensive in computation terms, it extends the capacibabites of the underscore function greatly, allowing TD nodes to be the result of the selector as well as TR nodes. So now you can get a column of data with something like: $('#example').dataTable()._('td:nth-child(4)') . Cool :-)
Dev: New internal function called _fnNodeToColumnIndex, adapted from fnGetPosition for reuse.
2012-01-31 08:09:51 +00:00
examples Examples: Fix: SyntaxHighlighter was having problems with copy and paste in webkit browsers - fix pushed to syntax highlighter here: https://github.com/alexgorbatchev/SyntaxHighlighter/pull/86 - this is the commit of that fix to the local copy 2012-01-28 10:08:43 +00:00
media New: API: fnGetData now also allows TD/TH nodes to be passed in and DataTables will figure out the data for the cell, returning that - easier than calculating the column index yourself. So you can now get the whole table's data, a row's data or an individual cell's data from the fnGetData function (you could get the cell data before, but you would need to use fnGetPosition). 2012-01-31 08:09:51 +00:00
scripts Add "cdn" "target" to the build script to create a 'cdn' directory which is suitable for CDN distribution 2012-01-10 15:33:08 +00:00
.gitignore Ignore the CDN directory 2012-01-10 15:34:39 +00:00
license-bsd.txt Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
license-gpl2.txt Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
package.json DataTables 1.9.0.dev.4 2012-01-25 19:44:05 +00:00
Readme.txt Update readme for v1.9 and note that the license can be either/or for the GPLv2 or BSD 2011-12-14 15:11:14 +00:00

This DataTables plugin (v1.9.x) for jQuery was developed out of the desire to allow highly configurable access to HTML tables with advanced access features.

For detailed installation, usage and API instructions, please refer to the DataTables web-pages: http://www.datatables.net

Questions, feature requests and bug reports (etc) can all be asked on the DataTables forums: http://www.datatables.net/forums/

The DataTables source can be found in the media/js/ directory of this archive.

DataTables is released with dual licensing, using the GPL v2 (license-gpl2.txt) and an BSD style license (license-bsd.txt). You may select which of the two licenses you wish to use DataTables under. Please see the corresponding license file for details of these licenses. You are free to use, modify and distribute this software, but all copyright information must remain.

If you discover any bugs in DataTables, have any suggestions for improvements or even if you just like using it, please free to get in touch with me: www.datatables.net/contact