This git repository contains the un-built source files for DataTables - an HTML table enhancing library. If you are looking to use DataTables, please use our download builder, which include CDN and package options, including NPM.
To use DataTables, the primary way to obtain the software is to use the DataTables downloader. You can also include the individual files from the DataTables CDN. See the documentation for full details.
If you prefer to use a package manager such as NPM, NuGET or Composer, distribution repositories are available with software built from this repository under the name datatables.net
. Styling packages for Bootstrap, Foundation and other styling libraries are also available by adding a suffix to the package name.
Please see the DataTables download page for further information. The DataTables installation manual also has details on how to use package managers with DataTables.
If you want to build DataTables locally, so you can make changes, a number of programs are required out your computer to be able to build DataTables:
- Bash
- PHP 7+
- Node.js 20+
DataTables can be built using npm run
commands. First, clone the DataTables source repo, then install the build dependencies, finally build and run the examples:
git clone https://github.com/DataTables/DataTablesSrc.git
cd DataTablesSrc
npm install
npm run build-debug
npm serve
Open your browser to the address indicated in the console.
Full documentation of the DataTables options, API and plug-in interface are available on the DataTables web-site. The site also contains information on the wide variety of plug-ins that are available for DataTables, which can be used to enhance and customise your table even further.
Support for DataTables is available through the DataTables forums and commercial support options are available.
DataTables is release under the MIT license. You are free to use, modify and distribute this software, but all copyright information must remain.