Hello there, By using this: hotitems = Items.select(orderBy='shortname') I receive some results, records count could be 0~N, and next step i want the HTML rendering this results in a 4x4 grid, means no more than first 16 item will display. And if less than 16 item, the rest will be empty in HTML.
How is the most neat code to do this? Actually I have tried some but not working or buggy... Regards David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

