DataTables logo DataTables

This site contains the legacy documentation for DataTables v1.9 and earlier for reference only.
DataTables 1.10 is the current release and is now available.

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