How to implement this with cakephp

How to implement this with cakephp

svaldenegrosvaldenegro Posts: 3Questions: 1Answers: 0

Hi!
I'm doing a project with datatable and i just want to ask how to get just the needed data. For example i have so much registers but i want just to look for the registers needed by page, how could i make ajax to a controller that i've do wich gives data between certain rank and at certain amount.
For example page 2 and showing 15 elements per page will ask from row 15 to 30 and then get it and show it without need to load the complete table Json.

This discussion has been closed.