Thanks Alex,

It will help I think, I try tomorrow.

Richard

On Thu, Oct 14, 2010 at 8:16 PM, Alex <[email protected]> wrote:

> Are you trying to display a more user friendly column name rather than
> the DB column name?
>
> If so, you can do this already.  The crud.select() has a method called
> "field_labels", which takes a dictionary of field names to their
> labels.
>
> http://www.web2py.com/book/default/chapter/07#Methods
>
> crud.select(db.person, field_labels={'dbColName':'MyLabel'})
>
> On Oct 14, 3:00 pm, Richard Vézina <[email protected]>
> wrote:
> > Hello,
> >
> > Does it plan to have the possibility to specify the labels of fields in a
> > crud.select??
> >
> > Richard
>

Reply via email to