Open hassanuos opened 2 years ago
I try to fine attribute to export file to a specific location on the server but I could not. Is there any attribute available? below is my sample source code. I am trying to create an excel sheet using the console command.
`public function actionCreateList(){
\moonland\phpexcel\Excel::export([ 'models' => Property::find()->all(), 'setFirstRecordAsKeys' => true, 'columns' => [ [ 'header' => 'Title', 'format' => 'text', 'wraptext' => true, 'value' => function($model) { return $model->title; }, ], ] ]); }`
I try to fine attribute to export file to a specific location on the server but I could not. Is there any attribute available? below is my sample source code. I am trying to create an excel sheet using the console command.
`public function actionCreateList(){