This is a customized bootstrap CRUD generator having just 3 additional features. ie., 1.pdf export. 2.excel export. 3.print @view.
you can download the extension here:https://dl.dropbox.com/u/74072668/giiplus.zip
Bootstrap
Note:integrate bootstrap before doing this.
step1:Download the zip file and put it in your extensions directory.
step2:
'gii'=>array( 'class'=>'system.gii.GiiModule', 'password'=>'123', 'generatorPaths' => array( 'ext.giiplus', ), // If removed, Gii defaults to localhost only. Edit carefully to taste. 'ipFilters'=>array('127.0.0.1','::1'), ),
eg: i have a table test(id,name,age).I have generated a crud for this.You can find a demo below.
1.bootstrap
i have used bootstrap's gii crud generator to make my customized giiplus crud generator.
2.TCPDF
For PDF generation i have integrated an extension with this crud generator
Name: TCPDF
Version: 5.9.157
Release date: 2012-04-16
Author: Nicola Asun
URLs: http: www.tcpdf.org
http: www.sourceforge.net/projects/tcpdf
so im giving all the credits to Nicola Asun for this Pdf generation feature.
Total 20 comments
Hello, Thanks for this nice extension. The demo link seems to be dead.. May you please re-create it?
Many thanks
I use an ajaxlist extension for pagination. I use this extension for exporting cgridview to pdf and its work for me.
I also set criteria and if i give limit e.g 5, it display only first 5 data from table not current cgridview page data.
but I want that only current cgridview data export to pdf. so can you please suggest me how can I do that?
thanks in advance.
Try this,
I have made controllers accordinly,I have Country model,I write Country_records,but it always going in else loop,& due to findall, all data displayed in excel.
You can see an action like below in ur associated controller:
Also if you need any change in the report generation.go to views and update excelReport.php
-Sirin
I have use pagination in my cgridview,now I want that during export also,I get it accordingly,I want only 10 records in export,than ,I m able to extract other 10.Can u help me,how to use it?
cool.
Nice extension man! Work's fine for me ^^
thanks magu...
this is an useful extension. sirin ibin thanx for that
i think you may not be installed this properly.coz this is working very fine for me.
Thanks for the concern but I am already using bootstrap CRUD for that.....which is just helping me to manage my grid not other links like create,update and also could not see export buttons....!
hi, i think you have used the default gii crud generator. please use "bootstrap CRUD generator" on the bottom of the list.
Hi...I cant see the options for PDF export and Excel export on my page after following all the steps specified by you....I just got a different look for my grid...nothing else...please help...
Thank for great effort!
Hi sirin , nice extension
For PDF generation i have integrated another extension with this crud generator ie Name: TCPDF Version: 5.9.157 Release date: 2012-04-16 Author: Nicola Asun
URLs: http: www.tcpdf.org http: www.sourceforge.net/projects/tcpdf
so i'm giving all the credits to Nicola Asun for this Pdf generation feature.
-Sirin
looks pretty ! thanks for sharing
It's a very good extension for me to generate to export my content to pdf or excel
Leave a comment
Please login to leave your comment.