Hello,
i use sqlformgrid and like this :
controller:
def art_manage():
records= SQLFORM.grid(query=db.t_art,maxtextlength = 40,deletable=False,create=True, fields=[db.t_art.f_name, db.t_art.f_team, db.t_art.f_tit])
return dict(records=records)
view:
{{=records}}
the records displayed are good and i let the possibility to add records (create=True).
My question is : when i add a record and i submit i would to exectue a function , how can i do ?
Thank you
(i know how to do with form .. if form.process (onvalidation .. and so on)