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:
> can you explain some more please ?
>
> best regards,
>
>
> On Sun, Jun 17, 2012 at 9:20 PM, Cornelius Koelbel
> <[email protected]
> <mailto:[email protected]>> wrote:
>
> Am 17.06.2012 18:50, schrieb Hassan Alnatour:
> > Dear ALL ,
> >
> > How can i create a button that create a csv file for a cretin
> table ?
> >
> >
> > Best Regards
> Hi,
>
> I think the exportable=True, the export-button should do this.
>
> Kind regards
> Cornelius
>
>
signature.asc
Description: OpenPGP digital signature

