The AjaxGrid take a JSON returned functions. Like in this example http://docs.turbogears.org/1.0/AjaxGrid. I don't know if Ajaxgrid take an XML-instance.
On 31 Mag, 17:51, "Diez B. Roggisch" <[email protected]> wrote: > On Monday, May 31, 2010 16:39:25 Luca Verardi wrote: > > > Hi all. I have a question. > > > How can I put a link in a column of an AjaxGrid widget? > > Or how can I trasform a record in a link in an AjaxGrid widget? > > I don't know AjaxGrid itself, but usually returning an XML-instance works for > me in widgets - roughly like this: > > from genshi import XML > > class AcceptGTCFormPart(FormPart): > """Form section prompts user to accept the GTC.""" > class fields(WidgetsList): > accept_gtc = CheckBox(help_text=XML(unicode(_("<span > class='fieldhelp'><p>I have read and I accept Ableton's <a href='/gtc' > target='_blank'>General Terms and Conditions</a> > (GTC)</p></span>")).encode("utf-8"), > suppress_label=True, > ) > > Diez -- 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.

