Hi,
anybody have any ideas?
tablerow.components.insert(2, TD(IMG(_src=URL('static',
'delete-article.png'), _onclick=confirmation(rowdata.asset_id),
_width=15)))
Kenneth
Den måndagen den 17:e december 2012 kl. 00:40:10 UTC+2 skrev Kenneth:
Hello,
I'm using webgrid in an application and
this is how i use onclick for confirmation purpose in a grid:
lambda row: A('Copy',
_class='btn',
_onclick='return confirm(Duplicate %s?)' % row.po_number,
_href=URL('duplicate_po',args=[row.id])),
On Monday, December 17, 2012 2:46:59 PM UTC-5, Kenneth wrote:
Hi,
anybody
Hi Adi,
very many thanks. That was exactly what I was looking for.
Kenneth
this is how i use onclick for confirmation purpose in a grid:
|
lambdarow:A('Copy',
_class='btn',
_onclick='return confirm(Duplicate %s?)'%row.po_number,
_href=URL('duplicate_po',args=[row.id])),
|
3 matches
Mail list logo