Hi!!! In models.py, I have this table
db.define_table('tempresa', Field('descripcion','string',length=50,label = T('Enterprise')), Field('email','string',length=50, label = T('Email')), Field('phone','string',length=50, label = T('Phone')), Field('estado','reference trestado',label = T('State')),migrate=False) When I use grid get this string: { "__class__": "lazyT", "kwargs": {}, "text": "Enterprise", "translator": { "__class__": "method" } } { "__class__": "lazyT", "kwargs": {}, "text": "Email", "translator": { "__class__": "method" } } { "__class__": "lazyT", "kwargs": {}, "text": "Phone", "translator": { "__class__": "method" } } { "__class__": "lazyT", "kwargs": {}, "text": "State", "translator": { "__class__": "method" } } In init.py my script is this. # exposed as /examples/grid @action('empresa_grid', method=['GET','POST']) @action.uses('empresa_grid.html',db, session,T) def empresa_grid(): Titulo = T('Enterprise') grid=publisher.grid(db.tempresa) return locals() -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/a483bd50-ef58-446d-b215-9ffe5873e4dd%40googlegroups.com.