Can't you use the represent field of the column, to show an image ?

On Aug 17, 7:44 am, Bruno Rocha <rochacbr...@gmail.com> wrote:
> use virtualfields for that.
>
> class Virtual(object)
>         def my16pximage(self):
>              return IMG(_src=URl(...))
>
> db.table.virtualfields.append(Virtual())
>
> table = SQLTABLE(db.table)
>
> On Tue, Aug 16, 2011 at 1:23 PM, Valter Foresto 
> <valter.fore...@gmail.com>wrote:
>
> > I'm using SQLTABLE() into a controller to generate a table for the next
> > view.
>
> > A column of the table report only few states (text) that can might be
> > better represented using small, 16x16 or 32x32, images.
> > It is possible to insert icons, instead of text, into a table column and
> > then pass the result to the viewer ?
>
> > Thanks in advance for suggestions.
> > Valter
>
> --
>
> --
> Bruno Rocha
> [ About me:http://zerp.ly/rochacbruno]
> [ Aprenda a programar:http://CursoDePython.com.br]
> [ O seu aliado nos cuidados com os animais:http://AnimalSystem.com.br]
> [ Consultoria em desenvolvimento web:http://www.blouweb.com]

Reply via email to