I transfer the table data from html to excel using tableExport . It looks like this:
doExport = function () { _this.$el.tableExport($.extend({}, _this.options.exportOptions, { type: type, // выбранный тип экспорта })); }; It turns out the file with the default name tableExport.xls , which is created in the default folder for downloads, recorded, saved and closed.
It was necessary to add a graph after the table. tableExport is not intended for this. So the question is how do I access this file after executing tableExport? His name remains default - but a sequence number may be added. That is, the name I definitely will not know. I understand that there is a way to somehow remember the path and file name, but where to dig?