Wiki articles tagged with "export"

Showing 1-2 of 2 items.
Created 3 years ago by Scott_Huang, updated 3 years ago by Scott_Huang.

Export query content to excel through any of your controllers, also can set cssClass for header/odd/even rows, auto download

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.

2 0
2 followers
Viewed: 13 359 times
Version: 2.0
Category: Tutorials
Created 3 years ago by Scott_Huang, updated 3 years ago by Scott_Huang.

Step by step for how to full export Yii2 grid to excel

We will leverage Yii2-excelview widget. So, first of all is install Yii2-excelview:

0 0
5 followers
Viewed: 48 567 times
Version: 2.0
Category: Tips