On Mar 30, 7:13 pm, mdipierro <[email protected]> wrote:
> I will take a look tonight.

Thanks to Massimo, this solution works (posted here for the archives):

query = table.id > 0
fields = [table[f] for f in table.fields if table[f].readable]
rows=db(query).select(*fields)
headers={}
for field in fields:
   # Use custom or prettified label
   headers[str(field)]=field.label
list=crud.select(table,fields=fields,headers=headers)

F
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to