[web2py] Re: FYI: A tutorial on how to customize export in SQLFORM.grid

2018-04-24 Thread Massimo Di Pierro
fee free to create a better mechanism for that. We should really re-factor forms and grid On Wednesday, 4 April 2018 03:46:46 UTC-5, Dave S wrote: > > > > On Tuesday, April 3, 2018 at 7:49:43 AM UTC-7, Alex Beskopilny wrote: >> >> Hi! >> exporter example >> >> 0 pip install xlwt >> 1 at end of

[web2py] Re: FYI: A tutorial on how to customize export in SQLFORM.grid

2018-04-04 Thread Dave S
On Tuesday, April 3, 2018 at 7:49:43 AM UTC-7, Alex Beskopilny wrote: > > Hi! > exporter example > > 0 pip install xlwt > 1 at end of gluon/sqlhtml.py > > class ExporterXLS(ExportClass): > label = 'XLS' > file_ext = "xls" > content_type = ".xls" > #

[web2py] Re: FYI: A tutorial on how to customize export in SQLFORM.grid

2018-04-03 Thread Alex Beskopilny
Hi! exporter example 0 pip install xlwt 1 at end of gluon/sqlhtml.py class ExporterXLS(ExportClass): label = 'XLS' file_ext = "xls" content_type = ".xls" # https://gist.github.com/brendano/22764 # https://groups.google.com/forum/#!topic/web2py/MR_8JzzP9o4 def

[web2py] Re: FYI: A tutorial on how to customize export in SQLFORM.grid

2018-04-02 Thread greenpoise
Very cool thanks On Sunday, April 1, 2018 at 12:08:30 AM UTC-7, Ray (a.k.a. Iceberg) wrote: > > Stumbled upon this blog post "Export in web2py's SQLFORM.grid > " by Prasad Muley. It provides > concrete example on how to customize an exporter TO REMOVE