I have a hard time with these grid/smartgrid callbacks. Now regarding the 
'create' option:

If I put grid = SQLFORM.smartgrid(db.mytable, .... ,create=False), then 
correctly, the '+Add' button doesn't appear on the web application.
But if I put a lambda callback there:
grid = SQLFORM.smartgrid(db.mytable, .... ,create=lambda row:False)
the 'Add' button appears!

-- 



Reply via email to