Eddie schrieb:
> Apologies if this has been answered before but I haven't been able to
> find it in the groups. I have started working with DataGrid and I want
> to display a checkbox in the first column of the datagrid so I can
> select several rows and then submit the selection to the server. Is
> this possible at all or is there a better way of doing it?

That's possible. Create a column with a getter function, and let the 
getter function return an elementtree object, XML via the kid.XML 
function, or the output of a widget.

See the section "include a link inside a datagrid" or download the 
pagedemo2 application from here:
http://docs.turbogears.org/1.0/PaginateDecorator
Instead of the ImageLink widget, simply use a CheckBox widget,
and put the whole grid inside a form.

-- Christoph

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