I think grid(....exportklasses=None) or grid(.... exportclasses=dict(xml=false, csv=False,, html=False, tsv=False) should do the job. I have not tried it.
>From the book: - exportclasses takes a dictionary of tuples: by default it's defined as 1 2 3 4 5 6 csv_with_hidden_cols=(ExporterCSV, 'CSV (hidden cols)'),csv=(ExporterCSV, 'CSV'),xml=(ExporterXML, 'XML'),html=(ExporterHTML, 'HTML'),tsv_with_hidden_cols=(ExporterTSV, 'TSV (Excel compatible, hidden cols)'),tsv=(ExporterTSV, 'TSV (Excel compatible)')) ExporterCSV, ExporterXML, ExporterHTML and ExporterTSV are all defined in gluon/sqlhtml.py. Take a look at those for creating your own exporter. If you pass a dict like dict(xml=False, html=False) you will disable the xml and html export formats. 2017-09-07 12:54 GMT+02:00 Andrea Fae' <and...@gmail.com>: > I don't want any export and I dont' want the text "export" in the bottom > of the grid... > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > Regards Martin -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.