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


  • 0
    johannspies  13 years ago
    Thanks for the further examples. How would you handle the 'formatter': 'showlink' and 'baseLinkUrl': '' where uuid is used for cross references and a field is being represented by this: db.akb_articles.journal.represent = lambda x: db(db.akb_journal.uuid==x).select(db.akb_journal.title).first()['title'] I would like the 'journal' field in the grid to show the title of the journal and link to the record in akb_journal.

Commented on:

Here is a JqGrid application that includes a JqGrid module that allows you to insert jqgrid tables in web2py pages using python. git clone https://iiijjjii@github.com/iiijjjii/jqgrid.git The module includes functionality for searching and form editing as well as the general features, pagination, sorting on columns, formatting and navigating available with jqgrid. The application includes examples of usage in the default.py controller.

Hosting graciously provided by:
Python Anywhere