> What I have found out  about not firing at all is that in 
SQLFORM.smartgrid, ondelete and oncreate callbacks should not be 
> dictionaries!

Note that if you are declaring the callback function in a controller, you 
cannot use functions without arguments, since they are reserved for 
actions. ondelete callbacks don't take arguments, but I think you could 
declare an ondelete callback function this way

def ondelete_callback(arg=None):
    ...

In models, you should be allowed to do:

def ondelete_callback():
    ...

-- 



Reply via email to