_after_delete.append is a great improvement. I really like to run a function after the user press the default delete button from a smartgrid, I can hide this button and add a custom delete button, but whit _after_delete.append(function) is a best solution.
Thanks. 2012/5/25 Anthony <abasta...@gmail.com>: > Not in current stable, but in trunk, you can do: > > db.mytable._after_delete.append(myfunction) > > The _after_delete attribute of the table is a list of functions that take > the table as an argument and are run after any delete is performed. There's > also _before_delete as well as similar lists for before and after insert and > update. > > If the deletion is happening via a form submission, you could also simply > add some logic to the form processing code to run the function. > > Anthony > > On Friday, May 25, 2012 12:19:37 PM UTC-4, Roberto Perdomo wrote: >> >> Hi, >> >> I have a single question, >> >> There is a way to run a feature automatically when you delete a record >> from a particular table?