Datatables Php Library Star

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

Laravel

You can use the Eloquent Builder class directly as you use a SQL statement.

The following example is the same as Join Tables example but written in laravel..

ID Track Name Album MediaType UnitPrice Milliseconds Bytes
loading...
  • Server-side script
  • Javascript
  • HTML

In addition to the above code, the following Javascript library files are loaded for use in this example:
https://code.jquery.com/jquery-3.3.1.js
https://cdn.datatables.net/2.0.8/js/dataTables.min.js
https://cdn.datatables.net/responsive/3.0.2/js/dataTables.responsive.min.js

The following CSS library files are loaded for use in this example to provide the styling of the table:
https://cdn.datatables.net/2.0.8/css/dataTables.dataTables.min.css
https://cdn.datatables.net/responsive/3.0.2/css/responsive.dataTables.min.css

  • About
  • Github

Examples

  • Basic
  • Post data
  • Object data source
  • Edit column
  • Add column
  • Hide column
  • Join tables
  • Group by
  • Individual search
  • ColReorder
  • Custom filter
  • Custom filter 2 (yadcf)

Framework Examples

  • Laravel
  • CodeIgniter 3
  • CodeIgniter 4
  • Phalcon 3+
  • Prestashop