Cheers Adi, spot on!
On Wednesday, 26 September 2012 03:19:26 UTC+2, Adi wrote:
>
> I think you need to flip it around, and use facilities instead of servers,
> and then you will get the link to servers:
>
> facilities = SQLFORM.smartgrid(db.facility, linked_tables={},
> user_signature=False, l
I think you need to flip it around, and use facilities instead of servers,
and then you will get the link to servers:
facilities = SQLFORM.smartgrid(db.facility, linked_tables={},
user_signature=False, links_in_grid=True, editable=False, deletable=False)
return dict(facilities=facilities)
On Tue
Hi all,
I'm having some difficulties with smartgrid and linked tables. My model is
as follows:
db.define_table('facility',
Field('facility_id','id'),
Field('name'),
Field('type'),
migrate=False)
db.define_table('server',
Field('server_id','id'),
Field('server_name'),
3 matches
Mail list logo