Custom report Download button is not working

Re: Custom report Download button is not working

by Alexander De La Garza -
Number of replies: 0
I was able to get the CSV file to actually download but when I open it, its empty,

I tried testing by adding a echo "test
"; before the $table->finish_output(); ....and "test
" gets captured in the CSV file, but the table does not,

Out of curiosity I tried adding another echo "test2
"; after the table output, and that does not get added to the csv file

How can I get the table to show in the CSV file export?