appadmin displays the rows of a child table with the link to a parent row. 
 This is what I'm trying to use in the smartgrid.  What is the best method?

On Saturday, January 26, 2013 8:54:31 AM UTC-5, Michael Beller wrote:
>
> 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