Re: [web2py] SQLFORM.GRID Change Header and labels too?

2017-04-07 Thread Javier Pepe
Hi You can use de label atribute in Field definition, this used in all forms. - label is a string (or a helper or something that can be serialized to a string) that contains the label to be used for this field in auto-generated forms.

[web2py] SQLFORM.GRID Change Header and labels too?

2017-04-07 Thread r
So I have changed the header for my sqlform grid: grid = SQLFORM.grid(db.adminis,headers={'adminis.Name':'Name','adminis.Description':'Description','adminis.Rating':'Average Rating'}) and when I click on view/edit I would like the same labels to be used. How is it possible ? -- Resources: