try something like items=t2.itemize(....) if isinstance(items,TABLE): items.insert(0,TR('col1','col2','col3'))
On Dec 29, 6:51 am, Atanasius <ulrich.maria.kai...@gmx.de> wrote: > Hi folks! > > I use the mechanism (posted from Julius Minka on December, 7th) to > display a table via itemize: > > db.firmen.represent=lambda row:\ > DIV(SPAN(TD(A(row.firma,_href=t2.action('wiki/firmabearbeiten', > [row.id]))),_class="col1",_width="100px"), SPAN(TD > (row.ort),_class="col1",_width="100px")) > > Now I wonder if it is possible to display the field names (or better > custom names) as a header for each column. > > Any ideas? Thanks in advance > > Ulrich --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---