Yii Framework Forum: How To Use Eexcelview ? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How To Use Eexcelview ? Export pdf and Excle

#1 User is offline   samilo 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 240
  • Joined: 04-October 12

Posted 07 August 2013 - 02:24 PM

Hi

I need to export gridview to pdf and excel So I searched and I seen the best is
http://www.yiiframew...ion/eexcelview/

But my problem is no documentation or how to use it with full details all i seen it , just this code
$this->widget('EExcelView', array( 
 	'dataProvider'=> $dataprovider,  	
'title'=>'Title',      'autoWidth'=>false,   
	..... other options  ));


But I don't need from user to when go to view page download directly excel file , I need to use button above grid-view and when user click
on it then download the file .

How To do that with pdf and excle ?

Any resource or code will be so help

Thanks in advance
0

#2 User is offline   mentorq 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 105
  • Joined: 26-June 13

Posted 08 August 2013 - 01:28 AM

http://www.yiiframew...ew/page__st__80 -> Johnny Gan post

It's good example.
1

#3 User is offline   samilo 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 240
  • Joined: 04-October 12

Posted 08 August 2013 - 04:00 PM

Thanks mentorq .
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users