Hello,
Following this example:
>>> db.define_table('person',
Field('name'),
format='%(name)s')
>>> db.define_table('thing',
Field('name'),
Field('owner_id', 'reference person'),
format='%(name)s')
If I use SQLGRID on thing and click on their name it would show me the
reference records. How could I change the css for the linked tables css.
I have a web2py view to make the web2pygrid longer so users don't have to
scroll, but when they click the reference table their scrollbar comes back.
<head>
<style>
.web2py_grid .web2py_table{
width:2000px
}
#content .container{width 100%;}
</style>
</head>
This works for the initial view, but not when I click on the referenced
tables... how can I apply the same view to the reference table?
--
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.