Linking GRID records with other records in same GRID

44 views
Skip to first unread message

Sarbjit

unread,
Mar 13, 2019, 10:02:06 AM3/13/19
to web...@googlegroups.com
I am using SQLFORM.GRID to display the database records. In my application, certain records may contain the reference to id of other records. Currently, I have to use "search" option to find the record matching reference id.

What I want to do is :- Have a hyperlink in the reference field and then open the details (View button equivalent) for the other record.Problem is View button for each row in GRID has a unique _signature . In the absence of this value, I can't form the hyperlink (view option) for other record. 

How can I get the _signature value associated with GRID records? or is there any way, I can access the Edit Page for a record from the GRID given its ID.

Sarbjit

unread,
Aug 9, 2019, 3:58:43 PM8/9/19
to web2py-users
Any suggestions ? How can I get to the details page for any grid record without clicking on Details button (knowing the grid-id is not sufficient as the signature value is unique for every record)
Reply all
Reply to author
Forward
0 new messages