Skip to content

Releases: yajra/laravel-datatables

v9.14.1

11 Nov 07:18
Compare
Choose a tag to compare

Fix resolution of custom search pane query builder. #2513

v9.14.0

03 Nov 09:59
Compare
Choose a tag to compare

Add support for SearchPanes extension

31 Oct 09:28
Compare
Choose a tag to compare

v9.12.0

31 Oct 03:02
Compare
Choose a tag to compare

v9.11.0

13 Sep 05:06
Compare
Choose a tag to compare

Export and Print Enhancement

15 Jan 04:22
Compare
Choose a tag to compare

This release includes the following changes:

  • Enhance printing function to match what is displayed in UI.
  • Enhance export function to match what is displayed in UI.
  • Enhance datatables service stub.
  • Address issue #310.
  • Add option to set column as exportable and/or printable.
  • Action and checkbox column is not exportable but printable by default.

v6.0.0 DataTable Service

15 Jan 04:20
Compare
Choose a tag to compare

v6.0.0 - DataTable Service implementation.

  • Provides DataTable Service.
  • Provides artisan command for creating a service. php artisan datatables:make UsersDataTable
  • Provides artisan command for creating a DataTable scope. php artisan datatables:scope ActiveUserScope
  • Provides built-in support for server-side buttons. (Formerly TableTools).
    • Available buttons are csv, excel, pdf, print.
    • Built-in support for exporting to CSV, EXCEL and PDF using Laravel-Excel.
    • Built-in printer friendly view or create your own by overriding printPreview() method.
  • Change of namespace from yajra\Datatables to Yajra\Datatables.
  • Deprecated of() method when using DataTable service.
  • Automatic registration of required 3rd party providers.

Collection engine enhancement

15 Aug 03:13
Compare
Choose a tag to compare
  • Collection engine enhancement.
  • Add support for filtering compound key PR #146.
  • Add support for ordering using compound key.

Add support for rendering view

12 Aug 03:26
Compare
Choose a tag to compare

addColumn and editColumn will now load view if it exists. All eloquent/data attributes will be passed as variables on view.

Usage:

Controller

return $datatables
    ->eloquent($builder)
    ->addColumn('action', 'admin.users.datatables.action')
    ->editColumn('active', 'admin.users.datatables.active')

View
/resources/views/admin/users/datatables/action.blade.php

{{ $first_name }} #{{ $id }}

/resources/views/admin/users/datatables/active.blade.php

@if($active)
active
@else
inactive
@endif

Stable Version for DataTables v1.9 and below

05 Sep 06:43
Compare
Choose a tag to compare