How to download multiple files into a folder?

Hi ,

I am trying to download two files by the ‘Download’ button above the datatable.
But I am facing two problems :

  1. Inside saveValues() , if I comment out the webix.message , only file2 is getting downloaded, why so ?

  2. How can I download both the files into a folder ?

Snippet:
https://snippet.webix.com/x31ktj63

Thanks.

try to delay second download

    webix.delay(function(){
      webix.html.download(blob, "file2.txt");
    });

Thanks intregal. What about the #2nd point ‘download multiple files into folder’ ? is it possible?

do you mean defining download folder on client side? I don’t think it is possible. only user can select target folder.

Ok, is it not possible even to zip all the downloaded files ?

zip is possible using third part libraries