But...

LABEL have some bug:

http://code.google.com/p/web2py/issues/detail?id=566



On 16 Gru, 23:32, Anthony <abasta...@gmail.com> wrote:
> In your table definition, you can specify a 'label' argument for each
> field, and I think that can be whatever you want (e.g., an IMG tag, etc.).
>
> db.define_table('mytable', Field('myfield',
> label=IMG(_src=URL('static','img/myimage.png'))))
>
> Haven't tried it, but hopefully should work.
>
> Anthony
>
>
>
>
>
>
>
> On Friday, December 16, 2011 5:10:53 PM UTC-5, brushek wrote:
>
> > Hello,
>
> > I would like to have images instead of text (or text AND image) in
> > each label for row, when I click edit in form generated by
> > SQLFORM.grid. How to do this in easiest way ?
>
> > Regards
> > brushek

Reply via email to