[web2py] Re: SQLFORM.Smartgrid and with parent table in Linked Tables

2015-11-16 Thread joaquim carvalho
> > Hi Massimo > I use Web2py for some web development I've been working. Thanks to you web2py is a great tool. I am writing to give you a sugestion, if I might: why not create a "linked_tables_placement" in the SQLFORM.smartgrid? It will be very usefull. I think it is simple to implement. S

Re: [web2py] Re: SQLFORM.Smartgrid and with parent table in Linked Tables

2013-04-29 Thread Mike Pixael
Yeah, been a long day it should be: db.define_table( 'contact', Field ('name'), Field ('address'), format = '%(name)s') db.define_table( 'courses' , Field

[web2py] Re: SQLFORM.Smartgrid and with parent table in Linked Tables

2013-04-29 Thread Anthony
Isn't that the same model? On Monday, April 29, 2013 11:31:17 AM UTC-4, Michael Hall wrote: > > > My bad, the model in my example should be: > > db.define_table( > 'contact', > Field ('name'), > Field

[web2py] Re: SQLFORM.Smartgrid and with parent table in Linked Tables

2013-04-29 Thread Michael Hall
Doh did it again, its been a long day, the model with the correct reference is db.define_table( 'contact', Field ('name'), Field ('address'), format = '%(name)s') db.define_table(

[web2py] Re: SQLFORM.Smartgrid and with parent table in Linked Tables

2013-04-29 Thread Michael Hall
My bad, the model in my example should be: db.define_table( 'contact', Field ('name'), Field ('address'), format = '%(name)s') db.define_table( 'courses', Field

[web2py] Re: SQLFORM.Smartgrid and with parent table in Linked Tables

2013-04-29 Thread Massimo Di Pierro
I do not see any relation between courses and contact. On Monday, 29 April 2013 07:32:10 UTC-5, Michael Hall wrote: > > I would like to have a smartgrid that references its parent table in > linked_tables, what is the web2py way of doing this? I have found some help > in this thread: > https://