ops, its don't work for sql tables...

2010/1/21 Alexandre Andrade <alexandrema...@gmail.com>

> A another way to define a different column name is using label
>
> Field('myfield', label ='myothernametofield')
> (in model)
>
> or in controller/function (if you don't want to all app))
> db.mytable.myfield.label = 'myothernametofield'
>
>
> 2010/1/21 Johann Spies <johann.sp...@gmail.com>
>
>> I would like the table produced by SQLTABLE to have different column
>> labels (e.g. "Name" for "db.person.name").  How do I do it?
>>
>> Also: I would like the output of SQLTABLE to provide links to
>> individual records simliar to what appadmin does.  I could not fully
>> understand the code appadmin uses to achieve this.
>>
>> Can  linkto be used in this case? From what I understand from te book
>> linkto is a SQLFORM method and is not related to SQLTABLE.
>>
>> Regards
>> Johann
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "web2py-users" group.
>> To post to this group, send email to web...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> web2py+unsubscr...@googlegroups.com<web2py%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/web2py?hl=en.
>>
>>
>>
>>
>
>
> --
> Atenciosamente
>
> --
> =========================
> Alexandre Andrade
> Hipercenter.com
>



-- 
Atenciosamente

-- 
=========================
Alexandre Andrade
Hipercenter.com
--
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

Reply via email to