On Monday, April 15, 2019 at 11:37:36 PM UTC-7, Dave S wrote: > > > > On Monday, April 15, 2019 at 10:51:17 PM UTC-7, Massimo Di Pierro wrote: >> >> db.table.field.represent = lambda value, row: PRE(value) >> >> > Obvious now! Thank you much. > > /dps >
While this worked very well, the PRE class was setup (in bootstrap?) with a grey background that didn't go with my greenbar scheme, and the font size was tiny but the margins big, and really I just needed "typewriter" font, so after a bit of diddling, I ended up tweaking the above to represent = lambda value, row: SPAN(value,_style="font-family:courier new,monospace") Went from Arches dddddddddD to Arches dddddddd (yes, row height was different) /dps -- 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/d/optout.