>
> I stumbled on this:
>
> https://groups.google.com/forum/#!topic/web2py/b5UMpF-3REI
>
>
> but i didn't really get the solution.
>

The solution mentioned there is the same as this one 
<http://stackoverflow.com/a/33676595/440323> on Stack Overflow, which 
involves creating a view or table in the database that represents the union 
of the two tables. Then create a DAL model for the view and pass that model 
to the grid. The grid does not take a Rows object or arbitrary SQL.

Anthony 

-- 
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/d/optout.

Reply via email to