Re: [web2py] Adding extra links to smartgird

2012-10-12 Thread Adnan Smajlovic
here is a quick code sample: in a smartgrid: ... links=dict(table_a=[ lambda row: A('Duplicate', _class='button', _onclick='return confirm("Duplicate %s?")' %

[web2py] Adding extra links to smartgird

2012-10-12 Thread Simon Carr
Hi All, How do I add an extra link to the SQLFORM.smartgird As an example I want to add a link or a button "Process File" and have it run a controller function that opens and processes an uploaded file. Thanks Simon --