If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!


  • 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():  

    
    
    1. db.things.category.represent = lambda v: v.name
    2. fields = ['id','name','category','price','owner']

    ...

     

Commented on:

This is a simple example of how to get started with jqGrid on web2py

Hosting graciously provided by:
Python Anywhere