Cannot Export to CSV or Excel

QuestionsCannot Export to CSV or Excel
Greg asked 9 years ago


I have the full version of the grid and I cannot export to any format.

I am trying to enable export to CSV and Excel. However, whenever I push any of these buttons all that happens is a new tab is opened with the text rendered to that tab with no file downloaded?

I have only minimally enabled the export functions as per the demo;

// export CSV file params
$grid["export"] = array("format"=>"csv", "filename"=>"wora-ice-schedule");
// export filtered data or all data
$grid["export"]["range"] = "all";

What should I do to get this working?

Thank you Greg.

2 Answers
Abu Ghufran answered 9 years ago

Most likely it's due to some whilte space character before pushing file download header.
Check included files for newline characters. Also emailed you details.

Greg answered 9 years ago

Thanks Abu – I had a library file that had some commented code in it.

Your Answer

17 + 17 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?