kartik-v/yii2-widgets

Excel error

Closed this issue · 1 comments

When I export the data with kartik\grid\GridView, the following is displayed when opening Excel....
excel_error

I have a problem when I upload it with this file.
Only files with these extensions are allowed: xls.

Why is this, please tell me the solution.

Gridview excel exports are actually HTML format saved as XLS.

Newer releases of excel does not open them by default. You need to allow this on your client by unblocking the file. Refer related topic