This tutorial will helpful to create your own extension for exporting data as excel from your gridview data. What you display in gridview (text), It will export as excel in yiiframework 2.0.
Yii2.0 is having a extension called 'mPDF'. mPDF is a PHP class Which is used to create a PDF files from the HTML content.
BSOURCECODE © 2017