Datatables Php Library Star

Handles server-side processing for Datatables, in a fast and simple way !

Object data source

You might want to convey more information in the data source than is necessary to show in the table (row IDs from the database for example). For these situations DataTables supports the reading of data for objects as well as arrays.

In this example the server responds with an array of objects, where DataTables will look up and use each property that is specified by the property given for each column..

Id Name Unit Price

In addition to the above code, the following Javascript library files are loaded for use in this example:

The following CSS library files are loaded for use in this example to provide the styling of the table: