yes in the action, before grid = ...

db.enquiries.created_by.readable = True

On Thursday, 26 December 2013 09:28:43 UTC-6, Gael Princivalle wrote:
>
> Hello all.
>
> Is it possible to display auth.signature fields in grid ?
>
> My db:
> db.define_table('enquiries',
>                 Field('code', type='string'),
>                 Field('quantity', type='integer'),
>                 Field('note', type='text'),
>                 auth.signature)
>
> A simplificated version of my controller:
> def enquiries():
>     query= db.enquiries
>     grid=SQLFORM.grid(query=query)
>     return dict(grid=grid)
>
> If in my custom single record view in enquiries.html I call for 
> auth.signature fields like grid.view_form.record.created_on, created_on is 
> displayed.
> In the grid no.
>
> Someone know why ?
>
> Regards.
>
>
>
>
>

-- 
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/groups/opt_out.

Reply via email to