[web2py] Re: LOAD and export to CSV

2015-09-30 Thread 'DenesL' via web2py-users
Thanks for the link Brian. Checking it out right now. On Tuesday, September 29, 2015 at 9:19:33 PM UTC-4, Brian M wrote: > > Yeah, with a little looking, and also another recent post here, you can't > start a download with JavaScript so you'll have to do something else. > Either just redirect

[web2py] Re: LOAD and export to CSV

2015-09-29 Thread Brian M
Yeah, with a little looking, and also another recent post here, you can't start a download with JavaScript so you'll have to do something else. Either just redirect the user to a download page that'll generate the CSV or else look into using something like this -->

[web2py] Re: LOAD and export to CSV

2015-09-28 Thread 'DenesL' via web2py-users
Yes, the content is properly set but it is returned as the component content instead of a separate file, which is what should happen IMHO. What I need is some way to "cancel" the LOAD so the file is returned instead and the component is not updated, because otherwise it would become empty. So