DataTables example - Nested object data (arrays)

Information read from an Ajax data source can be arbitrarily complex, but still be displayed by DataTables through the columns.data option. The columns.data has the ability to read information not only from objects, but also from arrays using the same dotted object syntax as for objects, but additionally, when working with an array data source columns.data can process the data to combine and display the data in simple forms (more complex forms can be defined by using columns.data as a function).

This example shows two different aspects of using columns.data to read arrays:

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