I'm pretty sure that is what we've been talking about. I think it uses the
_plural value for the child table. If this isn't what you were getting at
post some code/screen shots so there isn't any confusion.
-Jim
On Wednesday, March 13, 2013 10:54:47 AM UTC-5, Alex Glaros wrote:
>
> In smartgrid, the user first sees the parent records. There is a link to
> the child table records on the far right for each parent record that has
> children.
>
> Is there a way to change the name of the child table link on the far right
> from default "child_Table_name" to
> "Click_here_to_see_details_for_this_item" ?
>
> Or is there a way to display a message near the link "Click here to see
> this item's details" ?
>
> thanks,
>
> Alex Glaros
>
> On Wednesday, March 13, 2013 8:03:34 AM UTC-7, Jim S wrote:
>>
>> Or you can do it in code after the table is defined using:
>>
>> db.myfeet._plural = 'Feet'
>> db.myfeet._singular = 'Foot'
>>
>> -Jim
>>
>> On Wednesday, March 13, 2013 9:22:59 AM UTC-5, Cliff Kachinske wrote:
>>>
>>> db.define_table('myfeet',
>>> Field(...)
>>> ...,
>>> singular='Foot',
>>> plural='Feet',
>>> )
>>>
>>> On Wednesday, March 13, 2013 10:08:29 AM UTC-4, software.ted wrote:
>>>>
>>>> Is there a way to change the labels of the tables in the generated
>>>> breadcrumbs of the SQLFORM.grid as well as the link pointing to the linked
>>>> tables to something custom.
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> .......................................................................................
>>>> Teddy Lubasi Nyambe
>>>> Opensource Zambia
>>>> Lusaka, ZAMBIA
>>>>
>>>> Cell: +260 97 7760473
>>>> website: http://www.opensource.org.zm
>>>>
>>>> ~/
>>>> Human Knowledge belongs to the world! - AntiTrust
>>>>
>>>> Man is a tool-using animal. Without tools he is nothing, with tools he
>>>> is all - Thomas Carlyle 1795-1881
>>>>
>>>> /~
>>>>
>>>
--
---
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/groups/opt_out.