17 Jun 2012 18:50
17 Jun 2012 20:20
17 Jun 2012 21:17
Re: csv button
can you explain some more please ?
best regards,
On Sun, Jun 17, 2012 at 9:20 PM, Cornelius Koelbel <cornelius.koelbel <at> lsexperts.de> wrote:
Am 17.06.2012 18:50, schrieb Hassan Alnatour:> Dear ALL ,Hi,
>
> How can i create a button that create a csv file for a cretin table ?
>
>
> Best Regards
I think the exportable=True, the export-button should do this.
Kind regards
Cornelius
17 Jun 2012 23:28
Re: csv button
Hi,
in the SQLFORM.grid you can have an csv=True (default), that displays an export button, which will export to csv.
form = SQLFORM.grid(db.t_product_license,
onupdate=auth.archive,
fields=[ ...
],
links_in_grid=True,
csv=True,
details=False,
editable=True,
deletable=False,
create=False,
upload=URL("download"),
maxtextlength=100,
links=links)
Kind regards
Cornelius
Am 17.06.2012 21:17, schrieb hasan alnator:
in the SQLFORM.grid you can have an csv=True (default), that displays an export button, which will export to csv.
form = SQLFORM.grid(db.t_product_license,
onupdate=auth.archive,
fields=[ ...
],
links_in_grid=True,
csv=True,
details=False,
editable=True,
deletable=False,
create=False,
upload=URL("download"),
maxtextlength=100,
links=links)
Kind regards
Cornelius
Am 17.06.2012 21:17, schrieb hasan alnator:
can you explain some more please ?best regards,On Sun, Jun 17, 2012 at 9:20 PM, Cornelius Koelbel <cornelius.koelbel-PIliufFCYSYOIzVOb1FTxg@public.gmane.org> wrote:Am 17.06.2012 18:50, schrieb Hassan Alnatour:> Dear ALL ,Hi,
>
> How can i create a button that create a csv file for a cretin table ?
>
>
> Best Regards
I think the exportable=True, the export-button should do this.
Kind regards
Cornelius
RSS Feed