I need only csv export method from  SQLFORM.smartgrid so I want to disable 
default export methods. Seems to me that 
SQLFORM.smartgrid(exportclasses=dict(json=False)) doesn't work in newer 
versions of web2py (2.14.6). 

My code:

export_classes = dict(json=False, html=False,
                      tsv=False, xml=False, csv_with_hidden_cols=False,
                      tsv_with_hidden_cols=False)

table = SQLFORM.smartgrid(db.tableexample, user_signature=False, 
showbuttontext=False,
            links=links, linked_tables=[],
            editable = True, deletable = True,
            exportclasses=export_classes)




Am I  wrong?

In version 2.10.3 this works just fine.

-- 
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.

Reply via email to