If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!
Hi, I have a problem when I build the method. It works when I have only one table, but I want to show all colummns from two tables using a join. Any idea.?
Controller
#How do they work?
def get_rows():
db.things.category.represent = lambda v: v.name
fields = ['id','name','category','price','owner']
...
This is a simple example of how to get started with jqGrid on web2py
0
dngreguas 12 years ago
Hi, I have a problem when I build the method. It works when I have only one table, but I want to show all colummns from two tables using a join. Any idea.?
Controller
#How do they work?
def get_rows():
db.things.category.represent = lambda v: v.name
fields = ['id','name','category','price','owner']
...