Bruno Rocha Sat, 26 Jan 2013 10:12:26 -0800
the grid has onvalidation argument.
SQLFORM.grid(..., onvalidation=check_unique) --