PHPackages                             cakedc/cakephp-datatables - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. cakedc/cakephp-datatables

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

cakedc/cakephp-datatables
=========================

CakePHP datatables plugin for CakePHP

2.1.2(1y ago)95.5k↓100%6MITJavaScriptPHP &gt;=7.4

Since Apr 22Pushed 6mo ago13 watchersCompare

[ Source](https://github.com/CakeDC/cakephp-datatables)[ Packagist](https://packagist.org/packages/cakedc/cakephp-datatables)[ RSS](/packages/cakedc-cakephp-datatables/feed)WikiDiscussions 1.next-cake4 Synced today

READMEChangelog (10)Dependencies (2)Versions (30)Used By (0)

CakeDC Datatables plugin for CakePHP
====================================

[](#cakedc-datatables-plugin-for-cakephp)

IMPORTANT: This plugin is under heavy development now, use it at your own risk.
-------------------------------------------------------------------------------

[](#important-this-plugin-is-under-heavy-development-now-use-it-at-your-own-risk)

Installation
------------

[](#installation)

You can install this plugin into your CakePHP application using [composer](https://getcomposer.org).

The recommended way to install composer packages is:

```
composer require cakedc/cakephp-datatables
```

### Load plugin

[](#load-plugin)

To bake datatable index pages.
==============================

[](#to-bake-datatable-index-pages)

```
bin/cake plugin load CakeDC/Datatables
```

To bake datatable index pages.
==============================

[](#to-bake-datatable-index-pages-1)

```
bin/cake bake all Articles -t CakeDC/Datatables
```

Setting up the datatable fields
===============================

[](#setting-up-the-datatable-fields)

You can set a simple array with the columns to print or a more complex one with render callbacks, or a mix of them.

### Simple entity visible fields

[](#simple-entity-visible-fields)

```

```

### Manual simple columns configuration

[](#manual-simple-columns-configuration)

```
