yep but valid only for read-only grid. You need a unique integer value to 
use the grid for editing purposes

>
>>
> What I do is to either create a database view or a table containing the 
> result and then in the controller define a model with 'migrate = False'  to 
> read the view/table and then use the grid on that view/table.  In order for 
> web2py to use that view/table easily I put something like 'id = 1'  in the 
> select and then make the id field 'readable=False'  in the controller.
>
> Regards
> Johann
> -- 
> Because experiencing your loyal love is better than life itself, 
> my lips will praise you.  (Psalm 63:3)
>  

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to