[web2py] Re: grid: get rid of view buttons

2015-07-03 Thread jackson . read
Thank I must have missed that On Wednesday, July 1, 2015 at 3:50:58 PM UTC-4, jackso...@quantachrome.com wrote: I have a sqlform.grid, I would like to get rid of the view buttons at the end of each row. Unfortunately the grid has no attribute 'viewable' that you can set to False. Does

[web2py] Re: grid: get rid of view buttons

2015-07-01 Thread JorgeH
a quick example: form2 = SQLFORM.grid(((db.empaques.producto == producto) (db.empaques.nuevo == True)), formname='form2', fields=fields2, details=False, editable=True, create=True, deletable=True, csv=False, user_signature=False, searchable=False, maxtextlength=30)

[web2py] Re: grid: get rid of view buttons

2015-07-01 Thread JorgeH
in other words: details = False On Wednesday, July 1, 2015 at 2:50:58 PM UTC-5, jackso...@quantachrome.com wrote: I have a sqlform.grid, I would like to get rid of the view buttons at the end of each row. Unfortunately the grid has no attribute 'viewable' that you can set to False.