Read doc here. http://www.web2py.com/examples/global/vars/SQLTABLE
The "headers" argument does what you want. On Apr18, 6:30pm, Timmie <timmichel...@gmx-topmail.de> wrote: > Hello, > when building a SQLFORM, there are really useful helpers such as > * labels={'name':'Your Full Name:'} > * col3={'name':A('what is this?', _href='http://www.google.com/search? > q=define:name')} > > These are very convenient when creating the form in the controller. > > Is there a possibility to use the same arguments or similar ones to > customise the selection > > def recipes() > recepies = db().select(db.recepies.ALL) > > return dict(recipies=recipies) > > So that > {{=BEAUTIFY(response._vars)}} > > will show the table headers with defined lables (label) and predefined > fields (names) > instead of > recipie.id recipie.title recipie.date ... ? > > Thanks & kind regards, > Timmie --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---