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


  • 0
    frank  14 years ago
    hi, mr.Freeze I got trouble on filter function, I have a database named db.invoice I define grid.datasource = db(db.invoice.entity==session.auth.user.id)(db.invoice.id>0) and grid.filters = ['invoice.name'] webgrid list works well. the problem is in the dropdown list of filter of invoice.name, it display all names of db.invoice, actually, it should display only those names by condition in datasource. I do not why?please advice. Frank

Commented on:

This is a module that lets you build a table on the server that supports paging, sorting, editing and totals easily. It requires no javascript or sessions to work.

Hosting graciously provided by:
Python Anywhere