hello everyone,
I believe I have ran into a dead end but maybe one of you may find a way
for what I'm trying to do. So, please consider this model:
db.define_table('house',
Field('location_type', requires=IS_IN_SET(['city', 'country', 'sea'])),
Field('location_type_msg'),
Field('capacity', requires=IS_IN_SET(['single', 'couple', 'small
family', 'big family']),
Field('capacity_msg'))
you can see the pattern I used in the field names, "fieldname" followed by
"fieldname_msg".
Now, what I want to do is to generate a grid with only two columns
"location_type" and "capacity" where "location_type_msg" and "capacity_msg"
would be accessible once you mouse hover through their respective fields.
Example:
id | location_type | capacity
===========================
1 | city | single
2 | sea | small family
now if i go over the word 'city' I would see something like "New York" or
"London" and if I mouse hover "small family" i would see something like "90
square meters"
hope it makes sense.
Thank you,
Kind regards
Francisco
--
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.