DataTables example - Custom HTTP variables

It can often be useful to send extra information to the server when utilising DataTables' server-side processing option. This is done by using the ajax option's data option which can be used in one of two different ways:

The example below shows server-side processing being used with an extra parameter being sent to the server by using the ajax.data option as a function.

Name Age Position Office Start date Salary
Name Age Position Office Start date Salary

Basic Init

Advanced Init

Styling

Data Sources

Ajax

Server Side

Api

Plug-ins