[web2py] Re: Two loaded components on one page - How can I refresh both on submit of sqlform.grid in one?

2013-10-09 Thread Jim S
All working now, Thanks Niphlod... -Jim On Tuesday, October 8, 2013 4:49:30 PM UTC-5, Jim S wrote: Niphlod - once again you have decoded my poorly worded question and given me the solution. Yes, I'm talking about checkboxes and refreshing the second grid in a separate component. I will

[web2py] Re: Two loaded components on one page - How can I refresh both on submit of sqlform.grid in one?

2013-10-08 Thread Stefaan Himpe
Anyone know how I can do that? I did just that yesterday! Here's what I did: I passed a parameter onupdate=ongridupdate to the grid, where def ongridupdate(form): # all kinds of stuff, followed by... redirect(URL(default, index, extension=html),client_side=True) -- Resources: -

[web2py] Re: Two loaded components on one page - How can I refresh both on submit of sqlform.grid in one?

2013-10-08 Thread Niphlod
let's see...what is a grid with select boxes ? you mean checkboxes ? how is it configured the first grid to be refreshed ? On Tuesday, October 8, 2013 10:53:56 PM UTC+2, Jim S wrote: I have a SQLFORM.grid in a loaded component on my page with select boxes. When I click on the submit button

[web2py] Re: Two loaded components on one page - How can I refresh both on submit of sqlform.grid in one?

2013-10-08 Thread Niphlod
let's go with the uber-difficult setup (assuming that you meant grid with checkboxes and the submit button is the one that shows up when you pass a lambda to selectable) def grid1(): a = 'grid1 %s' % request.now grid = SQLFORM.grid(db.auth_user, formname='grid1', user_signature=False ,

[web2py] Re: Two loaded components on one page - How can I refresh both on submit of sqlform.grid in one?

2013-10-08 Thread Jim S
Niphlod - once again you have decoded my poorly worded question and given me the solution. Yes, I'm talking about checkboxes and refreshing the second grid in a separate component. I will give this a try and report back. Thanks -Jim On Tuesday, October 8, 2013 4:28:59 PM UTC-5, Niphlod