Re: [web2py] Cannot label id field

2013-02-11 Thread Richard Vézina
Too me it is not a bug, since there is a button to acces those records (read or update), I don't see why you want the id to be include in the grid, so... showid: false and rely on the grid button should be all right. Richard On Mon, Feb 11, 2013 at 1:06 PM, Richard Vézina wrote: > My bad about

Re: [web2py] Cannot label id field

2013-02-11 Thread Richard Vézina
My bad about, I miss understand... Richard On Mon, Feb 11, 2013 at 12:42 PM, LightDot wrote: > Field label and representation are two different things... > > A label is only displayed next to the field in generated forms. A visual > aid, so to speak... Regardless of the label, the field itself

Re: [web2py] Cannot label id field

2013-02-11 Thread LightDot
Field label and representation are two different things... A label is only displayed next to the field in generated forms. A visual aid, so to speak... Regardless of the label, the field itself would still be named "id", it's format or representation would stay the same. François simply wants t

Re: [web2py] Cannot label id field

2013-02-11 Thread Richard Vézina
I don't think you can change the representation of the id field you see in smartgrid, you can hide with a switch : https://groups.google.com/forum/#!msg/web2py/UYZE3G4hW2A/oqZdGeUa3xAJ showid: false If you read the thread I show the way I change representation of id with SQLTABLE(), it may be ada

[web2py] Cannot label id field

2013-02-09 Thread François Delpierre
Hi, Let's see the definition: db.define_table('t_bsc', Field('id', type='integer', label=T('Service Code')), Field('f_name', type='string', label=T('Service name'), comment=T('The name of the customer facing service as known to your customer.')), But in my smartgrid,