Hello all,
I have the following SQLFORM.smartgrid defined.
form = SQLFORM.smartgrid(db.customer, linked_tables=['address', 'sheet',
'sheet_archive'],
searchable= dict(customer=True, address=False,
sheet=True),
create=True, paginate=20, maxtextlength=60,
fields=[db.customer.first_name,
db.customer.last_name, db.customer.phone,
db.customer.email, db.customer.left_handed,
db.address.address1, db.address.address2,
db.address.city, db.address.state_province,
db.address.postal_code, db.sheet.title,
db.sheet.created_by, db.sheet.created_on,
db.sheet_archive.id, db.sheet_archive.title,
db.sheet_archive.created_by,
db.sheet_archive.created_on],)
Which produces the table with the following links to other tables.
My problem is, 'Sheet archives' is only related to 'Sheets', so I only want
that link to show up on the 'Sheets' page. Any ideas?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
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/d/optout.