Home Wiki
JQuery DataTable Column Filter - Server Side Example

Preamble

DataTables ColumnFilter add-in works in the Server-side mode. Live example below is configured to use server-side processing code. On the live demo site is used JSONP processing because live server processing page is placed on the DataTables site.

Note that in the server-side mode you must define values for the select list in the dropdown - autobuild will not work because in the column are not placed all values that can be used for filtering. Also, if you put the range filters in the columns you start and end values will be sent in the start~end format. You will need to parse it on the server-side and return filtered informaiton back to plugin.

Live example

Rendering engine Browser Platform(s) Engine version CSS grade
Rendering engine Browser Platform(s) Engine version CSS grade

Initialization code

There are no additional settings here - if you set-up dataTables in the server-side processing mode, filter requests will just be redirected to the server-side.

Other examples