I understand (I think) how to create and manage the button links within a 
smart grid but I'd like to make the reference field value a link to it's 
associated record.

For example ...

# parent table
db.define_table('t_parent', Field('f_name'))

# child table
db.define_table('t_child', Field('f_name'), Field('f_parent', 
type='reference t_parent'))

Smartgrid for child table would show f_name, f_parent.  What is the best 
way to make the f_parent value in the grid a link to view the parent 
record?  The link could be to the action/function for the smartgrid 
associated with the t_parent table (with args to view record).

Thanks in advance.

-- 



Reply via email to