Get KoolPHP UI with 30% OFF!

[SOLVED] Exporting my grid is giving me header warning and excel bin ??

Abraham
this is what i get after clicking my export button.. what could be causing this ??
note: emsiTextColumn.php is my extension of gridBoundColumn
Spoiler content
Posted Mar 13, 2017 , edited Mar 14, 2017 Kool
Peter
The export() need your to put ob_start() at very first line of php file. There should nothing send to browser (even a space)
<?php
ob_start();

The issue happens when export try to push the file to browser, however before it send the file, there were some other content remitted to browser. That why we put ob_start() at the end, and before export we call ob_end_clean()
Posted Mar 14, 2017 Kool
Abraham
Awesome!!!
solved.
Thank you very much for the help!
Posted Mar 14, 2017 Kool