DataTable.types()
Get a list of the data types registered.
Description
DataTables operates on the data shown in the table in a number of different ways depending on the structure of the data. We term each unique structure as a data type. For example, numbers, HTML data, dates, etc.
This method provides a method to get a list of the data types that have been registered with DataTables. Its companion method DataTable.type()
can be used to obtain details about and set options for each data type.
For more details about the data type system in DataTables please refer to the documentation on DataTables.net.
Type
function types()
- Description:
Get an array of the data types that have been registered with DataTables.
- Returns:
An array of strings with the data type names.
Example
Get a list of the registered types:
let types = DataTable.types();
Related
The following options are directly related and may also be useful in your application development.