Here is another tip that you may or may not fine useful.

http://www.web2pyslices.com/slice/show/1979/grid-custom-search-without-specifying-a-custom-search-widget


On Monday, March 7, 2016 at 7:31:45 PM UTC-5, villas wrote:

> Hi David
>
> Try these two...
>
> 1.  In your table defs for project and proposer,  make sure you add     
>
> format='%(yourfieldname)s',
>
> So that Web2py knows what to show instead of 'id'.
>
> 2. You can use .represent in your model or controller.
> db.visit.proposer_id.represent = .....
> See the book 
> <http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer?search=.represent#format--Record-representation>
> .
>
> Best wishes.
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to