hi, i have the table field data that using represent on it but the coloumn width it's seems affected by the table field header. e.g. db.define_table('supplier', Field('name'), Field('address', 'text'), Field('phone', 'list:string'), Field('email', 'list:string'), Field('ym', 'list:string'), Field('website'), Field('contact_person'), Field('notes', 'text'), format = '%(name)s') db.supplier.ym.represent = lambda ym, field: \ XML(", ".join([A(IMG(_title=T("Chat with %s") % yahoo, _alt=T("Chat with %s") % yahoo, _src="http://opi.yahoo.com/online?u=%s&m=g&t=1&l=us" % yahoo), _target="_blank", _href="ymsgr:sendIM?%s" % yahoo).xml() for yahoo in ym]) )
with the code above, the ym image shown is so small (affected by the field header ('ym') ). trying to put the width on the img html helper is not affected at all. is there a way i can make the ym image to normal size? best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.