Use represent and the tag A helper. db.table_name.link_field.represent = lambda value, row: A(value, _href=value)
2014-04-28 13:17 GMT-03:00 <jaw...@gmail.com>: > Hi > > I've created a run-of-the-mill table: > > def index(): > grid = SQLFORM.grid(db.table_name, user_signature=False) > return dict(grid=grid) > > One of the columns in the table is an actual link - how do I go about > making this "clickable"? > > Thanks! > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Att. Carlos J. Costa Cientista da Computação Esp. Gestão em Telecom EL MELECH NEEMAN! אָמֵן -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.