use different formname(s) for each grid.
On Wednesday, April 22, 2015 at 3:15:25 PM UTC+2, LoveWeb2py wrote:
>
> Hello,
>
> I have somewhat of a weird error and I'm not sure how to fix it.
>
> Let's say I have two controllers:
>
> def controller1():
> grid1 = SQLFORM.grid(db.table1)
> re
Thanks, Niphlod! Should I define that like this?
In SQLFORM.grid(db.table1, formname="table1)
or do it in the FORM which SQLFORM.grid links to
On Wednesday, April 22, 2015 at 9:57:04 AM UTC-4, Niphlod wrote:
>
> use different formname(s) for each grid.
>
> On Wednesday, April 22, 2015 at 3:15:25
Setting formname in SQLFORM.grid(db.table1, formname='table1') did the
trick!
Thanks again, Niphlod!
On Wednesday, April 22, 2015 at 10:04:12 AM UTC-4, LoveWeb2py wrote:
>
> Thanks, Niphlod! Should I define that like this?
>
> In SQLFORM.grid(db.table1, formname="table1)
>
> or do it in the FORM
3 matches
Mail list logo