I’v been looking at many Excel extensions but they were no good to me , because:
Some are not working/interfering with the url
Others require a special gridView that later will be exported - this is no good to be because my grid is already an extension by itself.
What I am looking for is to be able to export the chosen model’s bd table into an excel file.
can anyone suggest an extension for that?
Not tested this but a quick google results in: www.a2zwebhelp.com/export-data-to-csv
It appears you can create a comma separated string from a query result and just change some page headers to download a csv which excel can then read. To do this in Yii you can do a $this->renderPartial(‘view.php’) in a new browser window.
All in all it should just be a few lines of code. You can also try a Google search yourself for other articles.