href=row.url
On Wednesday, September 9, 2015 at 3:53:12 PM UTC-4, Diego Tostes wrote:
>
> Hi,
>
> i have a model with:
>
> Article = db.define_table('article',
> Field('title', 'string'),
> Field('author', 'string'),
> Field('type_article', 'string'),
> Field('url', 'string'),
> Field.Virtual('link_to_click', lambda row: A('click_here',
> _href=<???>)),
> )
>
> How can do to show the url field like a link in the Virtual Field?
>
> Thanks
>
> Diego
>
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.