Hi all.
Right now i have made this:
In controller i select rows:
detalleusuario =
db(db.hcpacientes.noid==form.vars.noid).select('hcpacientes.tid',
'hcpacientes.noid', 'hcpacientes.nombre').first()
Then in views, i display same variable with identifier fields:
{{=detalleusuario.tid}}
{{=detalleusuario.noid}}
{{=detalleusuario.nombre}}
Sometimes it worked, sometimes not. I wonder if is it wrong doing this.
Regards.
El martes, 25 de marzo de 2014 23:30:01 UTC-5, [email protected] escribió:
>
> Hi all.
>
> As mostly may know, when doing a select query the result will show a db
> field title for each column.
>
> How do i remove or change this db field title for some nice header as use
> with smartgrid.?
>
>
>
> Thanks.
>
--
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.