I think there's a warning in the book against two grids on the same page. 
I've never tried it due to the warning, but state of the grid is maintained 
via data passed back in the request. I think the grid code assumes that any 
grid state data passed back applies to it, so two grids may both assume 
they are the target of state information actually sourced from only one 
grid when it POSTs back updated state. Likely to be very confusing.
Using components (LOAD) should work around that. 

Your application platform still needs to address the problem of 
communicating with the server. 
You either round trip with REST, which means page reloads, or you use 
javascript to get part of the page to reload (e.g. LOAD, see chapter on 
components, it's pretty clever) or you can use full AJAX. Using LOAD may 
mean a bit of javascript, mainly so that your LINK button requests the 
LOADed component to reload. It's a common use-case in web2py and you'll 
easily get help here. I think the book documentation is reasonably good.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to