Re: [web2py] R: How to insert icons into a column of a table created using SQLTABLE()

2011-08-18 Thread Bruno Rocha
def imagepicker(text): if text = "": return IMG() elif text = "": return IMG() ... db.table.field.represent = lambda text: imagepicker(text) table = SQLTABLE(.) Another possibility is using Virtual Fields or manipulating the object with server sid

[web2py] R: How to insert icons into a column of a table created using SQLTABLE()

2011-08-17 Thread Valter Foresto
To further explain my requirements and request for suggestions: *How can I exchange few different text values with few different small images in a SQLTABLE() object before send it to the view. * Thank you for your help. Valter