-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathREADME
More file actions
23 lines (19 loc) · 827 Bytes
/
README
File metadata and controls
23 lines (19 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
EExcelWriter is a component similar to EExcelView, but uses a different library to generate the excel files, leading speed improvements of up to 10 times.
The library used is http://www.bettina-attack.de/jonny/view.php/projects/php_writeexcel/ , but with a part of it modified to work on PHP 5.4.
Instalation instructions :
Paste the contents of the repository in your protected directory, make sure that you load components.EExcelWriter in your configuration file.
Usage example :
$this->widget('EExcelWriter', array(
'dataProvider' => $model->search(),
'title' => 'EExcelWriter',
'stream' => FALSE,
'fileName' => 'file.xls',
'columns' => array(
array(
'header' => 'id',
'name' => 'ID',
),
'column1',
'column2',
),
));