Types

The DataTables options and API interfaces specify the data types that each option or method expect to operate with, and the data type that they return (for methods). For brevity and clarity in the reference documentation, rather than detailing each data type in the main documentation, the data types are fully defined here.

Please note that the Javascript data types defined below are simple summaries of the data types that DataTables parameters and functions operate with for completeness of documentation. For a full, detailed and accurate description of Javascript object types, please refer to the excellent Mozilla Developer Network documentation.

Library Name Summary
DataTables

DataTables.Api

DataTables API object instance

DataTables

DataTables.Order

DataTables ordering object

DataTables

DataTables.SearchOptions

DataTables search options object

DataTables

DataTables.Settings

DataTables settings object

DataTables

DataTables.Type

DataTables data type object

DataTables

cell-selector

Selector options for cells.

DataTables

column-selector

Selector options for columns.

DataTables

row-selector

Selector options for rows.

DataTables

selector-modifier

Options for how the row, column and cell selector should operate on rows.

DataTables

table-selector

Selector options for tables.

Javascript

array

Javascript Array type

Javascript

boolean

Javascript Boolean type

Javascript

function

Javascript Function

Javascript

integer

Subset of the Javascript Number type using only integers

Javascript

jQuery

jQuery object instance

Javascript

node

DOM element

Javascript

null

Javascript null type

Javascript

number

Javascript Number type

Javascript

object

Javascript Object type

Javascript

string

Javascript String type

Javascript

undefined

Javascript undefined type

Buttons

button-group-selector

Button group selector (multiple button instances)

Buttons

button-selector

Button selector

SearchBuilder

SearchBuilder.Condition

Search condition plug-in structure

SearchBuilder

SearchBuilder.Criteria

Object that describes a search condition

StateRestore

stateRestoreConfig

Configuration options for StateRestore button