you have two methods: - set editable=False and use your own links= - check for 'edit' in request.args and override accordingly
On Thursday, February 26, 2015 at 3:30:07 PM UTC+1, LoveWeb2py wrote: > > > I think this should be pretty easy, but I couldn't find how to edit the > SQLFORM buttons in the documentation: > http://web2py.com/book/default/chapter/07#SQLFORM-grid-and-SQLFORM-smartgrid > > Essentially I have a function I want the edit button to use instead of > editing the record called in the SQLFORM. Is there a way to reassign the > Edit button or am I better just creating a new button? > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

