Re: [web2py] Re: How to insert different grid elements in tab panels?

2016-03-19 Thread Ron Chatterjee
Thank you! that works On Friday, March 18, 2016 at 9:51:31 AM UTC-4, Massimiliano wrote: > > Try to give a each grid a uniq formname: > > SQLFORM.grid(db.post, formname=‘grid_post’) > > SQLFORM.grid(db.post, formname=‘grid_comments’) > > On Wed, Mar 16, 2016 at 1:25 AM, Ron Chatterjee

Re: [web2py] Re: How to insert different grid elements in tab panels?

2016-03-18 Thread Massimiliano
Try to give a each grid a uniq formname: SQLFORM.grid(db.post, formname=‘grid_post’) SQLFORM.grid(db.post, formname=‘grid_comments’) On Wed, Mar 16, 2016 at 1:25 AM, Ron Chatterjee wrote: > Basically, I go to panel one and "view" the grid element. And if I click > on

[web2py] Re: How to insert different grid elements in tab panels?

2016-03-15 Thread Ron Chatterjee
Basically, I go to panel one and "view" the grid element. And if I click on "back" button it takes me to panel2 content even though it says panel1. And vice versa. On Tuesday, March 15, 2016 at 8:21:59 PM UTC-4, Ron Chatterjee wrote: > > I used the LOAD but seems to be the problem still there.

[web2py] Re: How to insert different grid elements in tab panels?

2016-03-15 Thread Ron Chatterjee
I used the LOAD but seems to be the problem still there. See attached pic My Model db.define_table('post', Field("title", "string", length=128, default=""), Field("contents", "text", length=512, default=""), Field("created_on", "date", default=None),

[web2py] Re: How to insert different grid elements in tab panels?

2016-03-02 Thread Ron Chatterjee
Thank you Val. Appreciate the help. On Wednesday, March 2, 2016 at 1:51:58 PM UTC-5, Val K wrote: > > As I know it's impossible to have 2 "static" (not ajax) SQLFORM.grids at > the same page, because each of them will treat request.args as its own > > Use {=LOAD(... , ajax=True)} > > And I

[web2py] Re: How to insert different grid elements in tab panels?

2016-03-02 Thread Val K
As I know it's impossible to have 2 "static" (not ajax) SQLFORM.grids at the same page, because each of them will treat request.args as its own On Wednesday, March 2, 2016 at 8:12:49 PM UTC+3, Ron Chatterjee wrote: > > > If I have two independent grid, when I search in one grid, it gets >