Hide the achive links for a table.

21 views
Skip to first unread message

Santiago Cartasegna

unread,
Apr 28, 2017, 12:15:16 PM4/28/17
to web2py-users


Hello everyone,

I am using a Smartgrid to display some data. I was wondering if there is any chanche of hidding the links that redirect to the archive records.
Is there any easy way of doing this?


Thanks in advace!

Áureo Dias Neto

unread,
Apr 28, 2017, 1:05:07 PM4/28/17
to web...@googlegroups.com
in you smartgrid definition, 

form = SQLFORM.smartgrid(db.table,linked_tables=[]) or form = SQLFORM.smartgrid(db.table,linked_tables=None)

I dont remember whats the correct

Santiago Cartasegna

unread,
Apr 28, 2017, 5:45:30 PM4/28/17
to web2py-users
linked_tables=[] would do the trick.

Thanks!

Reply all
Reply to author
Forward
0 new messages