[web2py] Re: SQLTABLE and SQLFORM.grid with PRE()

2019-04-17 Thread Dave S
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

[web2py] Re: SQLTABLE and SQLFORM.grid with PRE()

2019-04-15 Thread Dave S
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 > On Monday, 15 April 2019 02:19:07 UTC-7, Dave S wrote: >> >> I'd like to apply PRE() to each entry in a particular col

[web2py] Re: SQLTABLE and SQLFORM.grid with PRE()

2019-04-15 Thread Massimo Di Pierro
db.table.field.represent = lambda value, row: PRE(value) On Monday, 15 April 2019 02:19:07 UTC-7, Dave S wrote: > > I'd like to apply PRE() to each entry in a particular column. What's the > way to do this with SQLTABLE() and SQLFORM.grid() ? > > /dps > > -- Resources: - http://web2py.com - ht