In this article you will find Yii framework extensions enabling you to add various charts/print out buttons etc. to your webapp.
In this article you will find Yii framework extensions enabling you to add various charts/print out buttons etc. to your webapp.
Asslamualaikum Wr.Wb Hello I'm Fahmi Azain i will share wiki tutorial about Creating Pdf Report / Excel Report by using Parms / Parameters.
We will leverage Yii2-excelview widget. So, first of all is install Yii2-excelview:
To generate excel by query content, and download through any controller. You also can bind cssClass to header/odd/even rows. As for header, you even can set cssClass for each column.
$this->export2excel($excel_content,$excel_file);
in your controller.