This seems to be more of a view/css problem than controller pagination. Especially since it relates to layout and not the actual data. You still have your 20 records from your (4x5) grid. The way to solve this is in your view look at your column set of 4 and iterate your items setting the class of each of the 20 records to something like class="column1" or class="column2" etc. We do this with alternating records to set the background color. The same principle applies to adding multiple columns. This can be done using div's or with tables or with a mix of both. Then you can use css to arrange and position your columns.
Remember to always isolate your MVC (model,View,controller) logic. In other words don't fix/build view logic in your controller. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
