does it or how does it support record representation for linked
tables ?
The record has a 'product' field linked to a 'db.product' with an id.
and name field, and the name appeared in PowerTable with the following
code in db.py .
The representation that worked fine in PowerTables  is only displaying
the product id in PowerGrid instead of the product name.

( in the DB i'm displaying in the Grid, a field is linked to another
db.products with an id field and a name (=nom) field : )
...
Field("product", db.products,represent=lambda f:
db.products[f].nom, requires = IS_IN_DB(db, db.products, '%(nom)s'),
writable=False),
...

By the way, it looks great and I couldn't wait to apply it today after
you said in my previous topic it would enter the beta during the
weekend.

Thanks.

Reply via email to