I'm trying to make a smartgrid from 2 tables and apply a query to it.
I've tried all the following:

        smart_grid = SQLFORM.smartgrid(db.child,
                                       left = (db.parent.on(db.child.
parent_id),
                                       # keywords = 
(db.fa_defect_check.item_id == 3000),
                                       # constraints = {'parent': 
(db.fa_defect_check.item_id == 3000)},
                                       ...other settings...)

I've tried joining the other way around, using 'constraints' in many ways, 
keywords, query instead of table. None of these worked.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/1fd9f4a8-d713-451b-a163-42e90d836d63%40googlegroups.com.

Reply via email to