SQLFORM.grid uses args to determine what to do. you are using request.args(0) in your query without letting know the grid that the args(0) is needed by you and should be left alone .....
please use SQLFORM.grid( ....... args=request.args[:1]) On Tuesday, January 22, 2013 5:25:06 PM UTC+1, Ramos wrote: > > hello > my sqlform.grid delete button , deletes the document from the grid but if > i refresh the page the document comes back again to the grid. > > mytable = SQLFORM.grid( db.t_docs.f_trab_ref==request.args(0), > csv=False, > searchable=False, > maxtextlength=32, > details=False, > editable=False, > ) > > > I have to go to admin to delete the record > > > > > > > > What is wrong? > > > > Thank you > --

