DataTables logo DataTables

This site contains the legacy documentation for DataTables v1.9 and earlier for reference only.
DataTables 1.9 was End Of Life in 2014. Do not use it for new work.
The current release of DataTables can always be found on DataTables.net.

Examples

One of the best ways of learning how to do anything new (including software APIs!) is to get your hands dirty as quickly as possible. These examples will show you how to perform tasks ranging from something as simple as applying DataTables to an HTML table, right the way through to doing server-side processing with pipelining and custom plug-in functions.

Basic initialisation

Advanced initialisation

API

Data sources

Server-side processing

Ajax data source

Plug-ins

Extras

There are a number of extras for DataTables which provide extra features and enhanced interaction options. These extras are included in the DataTables downloads package or can be downloaded individually. Below are the examples which are available with each extra.

AutoFill

ColReorder

ColVis

FixedHeader

KeyTable

Editor

FixedColumns