Many thanks, that worked great. Looks good too in the way it formats it.

On Friday, 13 February 2015 19:54:15 UTC, Niphlod wrote:
>
> HTML doesn't preserve line breaks by default: that's why there are <pre> 
> or <code> tags....
>
> you need a "custom" represent function to fill the cell of the grid with 
> *<pre>thetext</pre>* instead of simply 
>
> *thetext .*Use something like
>
> db.e5systemstatus.patchlog.represent = lambda value, row : PRE(value)
>
>
> and it should be enough 
>
>
>

-- 
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.

Reply via email to