Sorry Anthony, I didn't receive any update.
I expected the callback to be called when the row is deleted from the table 
by SQLForm.grid -- in both cases, from grid view after pressing the delete 
button, and from update view after checking the delete checkbox.
But the callback was called only in the first case, in the second case it 
was not called.

On Tuesday, December 2, 2014 6:15:18 PM UTC+4, Anthony wrote:
>
>  According to the code, it looks like it should be called when you click 
> the delete button in the grid view (assuming a successful delete), but not 
> when deleting a record via the update form.
>
> I thought that delete button in the grid view and the delete checkbox in 
update view are semantically the same, and the checkbox is just a shortcut.
How do I have to specify callback to be called in both cases?

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to