I set export to csv but some rows from one text column are wrapped with quotations, others are not. I dont need quotations at all. Can I remove somehow?
Thanks
3 Answers
This is default behavior of fputcsv() function of php. If you want no quotes you can edit jqgrid_dist.php and replace line:
fputcsv($fp, $value);
to
fputcsv($fp, $value, ",", chr(0));
Reference: http://stackoverflow.com/questions/2489553/forcing-fputcsv-to-use-enclosure-for-all-fields
The default behavior is to have quotes for all fields and values. You can test by exporting from this demo: https://www.gridphp.com/demo/demos/export/export-csv.php
Your Answer