Wiki articles in category Tutorials tagged with "export"

Showing 1-2 of 2 items.

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

Created 10 years ago by Scott_Huang, updated 10 years ago by Scott_Huang.

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: 27 195 times
Version: 2.0
Category: Tutorials

Exporting CGridView results to CSV file

Created 13 years ago by RusAlex, updated 13 years ago by RusAlex.

A few days ago, i worked for CGridView exporting functional for my client. He asked me to create a simple exporting to a CSV file a CGridView search results.

6 3
18 followers
Viewed: 70 771 times
Version: 1.1
Category: Tutorials