SQLFORM.grid for laptops. Less white space, more data. Screen shot at end of post.
in modules, create ui_def.py as follows: # -*- coding: utf-8 -*- def uidict(): return dict(widget='', header='', content='', default='', cornerall='', cornertop='', cornerbottom='', button='', buttontext='', buttonadd='icon plus icon-plus', buttonback='icon leftarrow icon-arrow-left', buttonexport='icon downarrow icon-download', buttondelete='', buttonedit='', buttontable='icon rightarrow icon-arrow-right', buttonview='', ) Controller: import ui_def def index(): ui = ui_def.uidict() query = db.product_family.id>0 form = SQLFORM.grid(query, ui=ui) response.view = 'iindex.html' return dict(form=form) Add to layout.html, just before the </head> tag: <style> #header {margin-top:0px;} div .page-header {margin:5px 0 0} .mastheader h1 {font-size:30px} .main {padding: 5px 0 15px 0;} .web2py_breadcrumbs ul {margin-bottom:10px;} .web2py_grid .row_buttons a {padding: 0 5px 0 5px;} .web2py_grid tbody td {padding: 0 5px 0 5px;} .web2py_grid .row_buttons {min-height: 0;} </style> <https://lh6.googleusercontent.com/-cpraFI36PLU/UlVQb-LdBZI/AAAAAAAAAEs/eY-J2pv3bzs/s1600/grid-compact.png> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.