Hi,
this is my code:
fields = (db.ensaios.codigo_registro,
db.ensaios.patrocinador_primario,
db.ensaios.contato_publico,
db.ensaios.titulo_en,
db.ensaios.trial_info
)
headers = {'db.ensaios.codigo_registro': T('Register Code'),
'db.ensaios.patrocinador_primario':T('Patrocinador
Primario'),
'db.ensaios.contato_publico':T('Public Contact'),
'db.ensaios.titulo_en':T('English title'),
'db.ensaios.trial_info':T('trial information'),
}
form = SQLFORM.grid(query=query_ensaios,
links_in_grid=True,
field_id=None,
csv=False,
user_signature=False,
ignore_rw=True,
fields=fields,
headers=headers,
orderby=default_sort_order,
create=False,
deletable=False,
editable=False,
details=False,
maxtextlength=64,
paginate=40)
But in my view a still with the header column with the columns names.
what is wrong?
Rgds,
Diego
--
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.