[web2py] Re: How to add à link with arguments in SQLFORM.grid

2015-12-02 Thread Adrien
Okay, it works ! I understand now, thx Anthony ! Le mercredi 2 décembre 2015 14:46:26 UTC+1, Anthony a écrit : > > On Wednesday, December 2, 2015 at 6:55:22 AM UTC-5, Adrien wrote: >> >> links = [dict(header='', body=lambda row : A(db.generalfix.IdGene, >> _class='btn', _href=URL(c='show', f='sh

[web2py] Re: How to add à link with arguments in SQLFORM.grid

2015-12-02 Thread Anthony
On Wednesday, December 2, 2015 at 6:55:22 AM UTC-5, Adrien wrote: > > links = [dict(header='', body=lambda row : A(db.generalfix.IdGene, > _class='btn', _href=URL(c='show', f='show', vars = > dict(id=db.generalfix.IdGene] > Note, your lambda has a "row" argument, so that is what you use to a