Have you tried making the fields that you do not want readable=False?

On Friday, 29 March 2013 09:17:50 UTC-5, Cliff Kachinske wrote:
>
> There is a table something like this:
>
> db.define_table('example',
>   ...
>   field('user_id', 'reference auth_user', requires=IS_IN_DB(.....)),
>   field('created_by',  'reference auth_user', requires=IS_IN_DB(.....)),
>   field('modified_by',  'reference auth_user', requires=IS_IN_DB(.....)),
>   ...
> )
>
> Then I do something like
>
> form = SQLFORM.smartgrid(db.auth_user, linked_tables=['example' ...], 
> fields=[db.example.user_id, ...] ...)
>
> smartgrid gives me three links to the example table: example.user_id, 
> example.created_by, example.modified_by
>
>
> How can I suppress the example.created_by and example.modified_by links? 
>  I thought the entry in fields would do it, but it does not.
>
> Thanks for any help on this.
>

-- 

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