SQLFORM.smartgrid(...., links=dict(tablename=[lambda row:
A('hi',_class='button')])links is a dict(tablename=[...]) the list (for each table) contains functions that take a row and make the button. On Nov 4, 11:15 am, Roberto Perdomo <[email protected]> wrote: > Hi, i need to put this code in new form from the add button of smartgrid: > > <script> > $(document).ready(function() { > $('#beneficiarios_cedula_personal__row').hide(); > }); > </script> > > I can edit the edit and delete links, but i need a custom new link. How i > can do this? > > Thanks.

