Ajax pagination using JSON data
Cake has default ajax pagination feature, but the output is in html which is not a good idea and huge amount of data transfer.
I want to use JSON to reduce data transfer. Is there any "ready-made" stuff for pagination using json (and jQuery).
Asked by ABCoder, 1 month, 3 days ago
1 Answer
afaik the best way is to do a json view class and then use RequestHandler to check for ajax and switch to the json view class..
from the jquery side is just $.ajax() iirc or $('.selector').load();
Answered by dogmatic691 month, 3 days ago
Your Answer
You can use Creole Wiki Syntax to format your text.
Tagged with
Rating
0
Viewed
137 times
Last Activity
1 month, 3 days ago