smartgrid creates links for reference fields if linked_tables is not 
specified but does not if linked_tables is specified.

I have a test model with Owner and Dog and a test function for 
manage_owners with a smartgrid:
form = SQLFORM.smartgrid(db.t_owner), linked_tables=['t_dog'])

If you display the view for manage_owners and then select the Dogs button 
(with a link to /default/manage_owners/t_owner/t_dog.f_owner/1), the 
reference field to owner in the subsequent Dogs smartgrid does not display 
a link if linked_tables is specified but not if linked_tables is not 
specified.

Is this by design?

-- 

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