开发者

CakePHP - Multiple paginated tables for the same model, on the same page

开发者 https://www.devze.com 2023-03-28 22:37 出处:网络
I get the impression this is not supported by Cake core yet, but has anyone managed to write their own code to do so?Is it possible with Ajax? I don\'t mind having开发者_Go百科 all my tables Ajax sort

I get the impression this is not supported by Cake core yet, but has anyone managed to write their own code to do so? Is it possible with Ajax? I don't mind having开发者_Go百科 all my tables Ajax sortable if this is the only way to do it.

Yes, I am aware of the link everyone posts (http://debuggable.com/posts/how-to-have-multiple-paginated-widgets-on-the-same-page-with-cakephp) and it does not solve the problem.


I ended up scrapping Cake's pagination system, and instead used a jQuery plugin called dataTables (http://www.datatables.net/).

It is quite frankly amazing what this guy has done to develop the plugin. It supports server-side powered pagination, sorting, and even filtering of your tables.

0

精彩评论

暂无评论...
验证码 换一张
取 消