On Sun, May 15, 2011 at 7:08 PM, Jurgens de Bruin <[email protected]> wrote:
> Hi,
> I would like to display a list in a DataGrid Column, that is if I send the
> following Dict to the DataGrid Dict =
> {'Column1':String,'Column2':float,'Column3':['a','b','c']} I would like the
> list Column3 to be display similar to
> <ul><il>a</il><il>b</il><il>c</il></ul>.
> How would this be done??

You can pass a getter to the DataGrid.Column that converts a list to
the required tags wrapped in a genshi.Markup call.
getter can be any callable or Tw Widget.

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