Db is the same

Controler is the one i've post before:
 query = db.l1_categories.id==db.l2_categories.l1_category
 fields = (db.l1_categories.name,db.l2_categories.name)
 grid = SQLFORM.grid(query=query, fields=fields, csv=False, links_in_grid=
False, links=None, searchable=False, editable=True, deletable=False,create=
True, details=False)

In other words like that grid show db.l1_categories.name in the rows view 
and db.l1_categories.id or db.l2_categories.l1_category in the details view.

It don't take care of the format define in the db.l1_categories table.

Il giorno mercoledì 21 gennaio 2015 20:20:16 UTC+1, Alex Glaros ha scritto:
>
> am a beginner also, please excuse my fishing around for more info
>
> I don't see details-creating code above
>
> can you post latest version?
>
> thanks
>
> Alex
>

-- 
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