TableExport doesn't work

I’m trying to use TableExport add-on, but I have a problems. In my app I have table and button. When someone click on it, app should send me file with converted table. But instead file my URL changes to http://localhost:8888/DQApplication/APP/2/file.xls and application exits.
I’ve downloaded sample application and it works. I use the same table and the same code:

excelExport = new ExcelExport(table);

in my app but it doesn’t work. What’s wrong?

I hope Jonathan reads the forum often enough.

The add-on essentially opens a new URL/Window to display the Excel sheet, but your browser doesn’t open it for some reason. Perhaps it hasn’t been configured to open Excel sheets or there is a security reason not to lauch Excel. If that is the case, you would want to download it rather than launch it.

Perhaps TableExport should use the Content-Disposition setting, as described

It might also be nice if the TableExport could open the file to a new window/tab so that it wouldn’t close the current application.

I believe you can override the relevant methods in TableExport to do those things.

Hello; I was looking at TableExport only yesterday, so I can fill in some answers!

It does : see

It allows you to do that, via the
method (defaults to “_self”)