开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜