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.

Name Summary Library Group

DataTable.AjaxOptions

Options for configuring an Ajax request

DataTables

DataTable.Api

DataTables API object instance

DataTables

DataTable.CellSelector

Selector options for cells.

DataTables

DataTable.ColumnSelector

Selector options for columns.

DataTables

DataTable.Context

DataTables settings object

DataTables

DataTable.Dom

DataTables DOM manipulation library

DataTables

DataTable.Order

DataTables ordering object

DataTables

DataTable.RowSelector

Selector options for rows.

DataTables

DataTable.SearchOptions

DataTables search options object

DataTables

DataTable.SelectorModifier

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

DataTables

DataTable.TableSelector

Selector options for tables.

DataTables

DataTable.Type

DataTables data type object

DataTables

SearchBuilder.Condition

Search condition plug-in structure

SearchBuilder

SearchBuilder.Criteria

Object that describes a search condition

SearchBuilder

array

JavaScript Array type

DataTables

arrayLike

Can be read as if it were an array

DataTables

boolean

JavaScript Boolean type

DataTables

button-group-selector

Button group selector (multiple button instances)

Buttons

button-selector

Button selector

Buttons

function

JavaScript Function

DataTables

integer

Subset of the JavaScript Number type using only integers

DataTables

jQuery

jQuery object instance

DataTables

node

DOM element

DataTables

null

JavaScript null type

DataTables

number

JavaScript Number type

DataTables

object

JavaScript Object type

DataTables

stateRestoreConfig

Configuration options for StateRestore button

StateRestore

string

JavaScript String type

DataTables

undefined

JavaScript undefined type

DataTables