# Datatable plugin for CakePHP 4

**URL:** <https://discourse.cakephp.org/t/datatable-plugin-for-cakephp-4/10435>\
**Category:** Need Help\
**Tags:** help\
**Created:** [June 7, 2022, 2:14am UTC](https://discourse.cakephp.org/t/datatable-plugin-for-cakephp-4/10435 "2022-06-07T02:14:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ishu\_oct](https://avatars.discourse-cdn.com/v4/letter/i/838e76/32.png) [@ishu\_oct](https://discourse.cakephp.org/u/ishu_oct)\
**Post date:** [June 7, 2022, 2:14am UTC](https://discourse.cakephp.org/t/datatable-plugin-for-cakephp-4/10435/1 "2022-06-07T02:14:59Z")

</div>

Hello, I have been upgrading my application from cakephp 3 to cakephp 4. I was using **fheider/cakephp-datatables** and I have come across **ypnos-web/cakephp-datatables** where both support cakephp 3.

I am currently looking for a cakephp-datatable plugin which supports cakephp 4.

If anybody has an idea, I would be happy.

Thanks in Advance.

---

<div class="post-metadata">

**Author:** ![cnizzardini](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/cnizzardini/32/2221_2.png) [@cnizzardini](https://discourse.cakephp.org/u/cnizzardini)\
**Post date:** [June 9, 2022, 3:22am UTC](https://discourse.cakephp.org/t/datatable-plugin-for-cakephp-4/10435/2 "2022-06-09T03:22:55Z")

</div>

Not sure, how hard do you think it would be to make those work with 4.x? I built one for 2.x and don’t recall it being too difficult.

---

<div class="post-metadata">

**Author:** ![arodu](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/arodu/32/2253_2.png) [@arodu](https://discourse.cakephp.org/u/arodu)\
**Post date:** [June 12, 2022, 11:21pm UTC](https://discourse.cakephp.org/t/datatable-plugin-for-cakephp-4/10435/3 "2022-06-12T23:21:51Z")

</div>

> **[GitHub - CakeDC/cakephp-datatables: Quick integration with jquery datatables](https://github.com/CakeDC/cakephp-datatables)**
>
> Quick integration with jquery datatables. Contribute to CakeDC/cakephp-datatables development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![Jawfin](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@Jawfin](https://discourse.cakephp.org/u/Jawfin)\
**Post date:** [June 13, 2022, 1:05pm UTC](https://discourse.cakephp.org/t/datatable-plugin-for-cakephp-4/10435/4 "2022-06-13T13:05:23Z")

</div>

DataTables is strongly on the clientside - all javascript and little to no PHP (unless you’re implementing AJAX callbacks for in-table editing). So my Cake 4 app I use DataTables but just hand-wrote the html & js as required - and used Cake to handle the AJAX, which is no different to a typical AJAX call. I didn’t use DT’s AJAX caller, I just wrote my own, but still uses Cake as the backend handler.
