Re: [web2py] How can you remove the text "Export" from a grid??

2017-09-10 Thread Anthony
On Sunday, September 10, 2017 at 3:34:27 AM UTC-4, Andrea Fae' wrote: > > You are right, like the same! But, where is it written? > http://web2py.com/books/default/chapter/29/07/forms-and-validators#SQLFORM-grid-signature -- Resources: - http://web2py.com - http://web2py.com/book

Re: [web2py] How can you remove the text "Export" from a grid??

2017-09-10 Thread Andrea Fae'
You are right, like the same! But, where is it written? Thanks a lot Il giorno sabato 9 settembre 2017 21:53:47 UTC+2, Anthony ha scritto: > > I don't see csv=False in your grid call: SQLFORM.grid(..., csv=False). You > don't have to bother with exportclasses if you set csv=False. > > Anthony >

Re: [web2py] How can you remove the text "Export" from a grid??

2017-09-09 Thread Anthony
I don't see csv=False in your grid call: SQLFORM.grid(..., csv=False). You don't have to bother with exportclasses if you set csv=False. Anthony On Saturday, September 9, 2017 at 1:28:12 PM UTC-4, Andrea Fae' wrote: > > exportcls = dict(csv=False, xml=False, csv_with_hidden_cols=False, >

Re: [web2py] How can you remove the text "Export" from a grid??

2017-09-09 Thread Andrea Fae'
exportcls = dict(csv=False, xml=False, csv_with_hidden_cols=False, html=False, json=False, tsv_with_hidden_cols=False, tsv=False) *form = SQLFORM.grid(query, args=[studente], fields=[db.evento.titolo, db.evento.ricorrenza, db.evento.giorno_inizio,

Re: [web2py] How can you remove the text "Export" from a grid??

2017-09-07 Thread Anthony
Can you show your code, a screenshot, and explain exactly what you are trying to achieve. If I do SQLFORM.grid(..., csv=False), I see no export links. Anthony On Thursday, September 7, 2017 at 7:42:38 AM UTC-4, Andrea Fae' wrote: > > Yes > > Il 07 set 2017 1:41 PM, "黄祥"

Re: [web2py] How can you remove the text "Export" from a grid??

2017-09-07 Thread andfae
Yes Il 07 set 2017 1:41 PM, "黄祥" ha scritto: > had you tried : > csv = False > > best regards, > stifan > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > -

Re: [web2py] How can you remove the text "Export" from a grid??

2017-09-07 Thread 黄祥
had you tried : csv = False best regards, stifan -- 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

Re: [web2py] How can you remove the text "Export" from a grid??

2017-09-07 Thread andfae
No...I just tested both Il 07 set 2017 1:06 PM, "Martin Weissenboeck" ha scritto: > 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: > > > >-

Re: [web2py] How can you remove the text "Export" from a grid??

2017-09-07 Thread Martin Weissenboeck
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

[web2py] How can you remove the text "Export" from a grid??

2017-09-07 Thread Andrea Fae'
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