When I export a grid to CSV, I don’t get all the fields when I open the CSV file. I believe I have configured the fields I want to export correctly using…
$col[“export”] = true;
As an example, I have another grid where I have over 40+ fields and they all export fine with no problems so I do not know what I have done wrong with this other file.
I have included the file for your viewing.
Here is the screen capture of the exported CSV file showing that the fields are missing.
Please share table dump with testing data to regenerate case : tblarss, tblindex
Abu Ghufran - Dev Team
PHP Grid Framework
Please see link below
Please note that I have since changed the field in tblarss to tags just so it is different from the same field in tblindex.
My apologies Abu if you wasted a lot of time to solve my issue. I mistakenly had two fields mapped twice to the grid in the ADIARSS.php file which gave very random results for column choosing and exporting.
How useful was this discussion?
Click on a star to rate it!
Average rating / 5. Vote count:
We are sorry that this post was not useful for you!
Let us improve this post!
Thanks for your feedback!