You cannot, but open a ticket and we may add a flag for that.
On Oct 10, 9:35 am, Massimiliano <mbelle...@gmail.com> wrote: > Thank you Massimo, I'm aware of that. > > I was just looking for a way to show all "buttons" but "detail" only in the > detail view (the one generated from the grid) and not in the table view. > > -- > Massimiliano > > On Mon, Oct 10, 2011 at 3:58 PM, Massimo Di Pierro < > > > > > > > > > > massimo.dipie...@gmail.com> wrote: > > def grid(query, fields=None, field_id=None, > > left=None, headers={}, columns=None, > > orderby=None, searchable=True, > > sortable=True, paginate=20, deletable=True, > > editable=True, details=True, > > selectable=None, create=True, csv=True, > > links=None, upload = '<default>', > > args=[], user_signature = True, > > maxtextlengths={}, maxtextlength=20, > > onvalidation=None, oncreate=None, > > onupdate=None, ondelete=None, > > sorter_icons=('[^]','[v]'), > > ui = 'web2py', > > showbuttontext=True, > > _class="web2py_grid", > > formname='web2py_grid', > > search_widget='default', > > ) > > > Many of the options are True/False and you can switch them off. > > > The smartgrid has the same arguments but they are dictionaries for > > example: > > > SQLFORM.grid(db.mytable, editable=False) > > SQLFORM.smartgrid([db.mytable], editable = {'mytable',False}) > > > On Oct 10, 8:52 am, Massimiliano <mbelle...@gmail.com> wrote: > > > I like the new grid/smartgrid a lot, but when you have many linked tables > > > the grid appears a little bit cluttered. > > > > What do you think of an option that hide all links/buttons (but not > > detail > > > button) from the grid, but show them on the detail view? > > > > Thank you > > > -- > > > Massimiliano > > -- > Massimiliano