Jose Soares ha scritto:
> Hi all,
>
> I would like to display an image in a datagrid column instead of text.
> Is there a simple way to do that?
>   

somewhere you cache the element (or widget, or whatever)

image = ElementTree.Element('img',src='/static/images/boo.png')

and you define a getter that returns it

     ... Column(....blabla....getter=lambda: image)


oh, did you want a dynamic image?

then, instead of lambda use a callable that receives a row and returns 
an element

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to