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.
When we are having more data and have to split it as many pages using pagination. By default, Yii2.0 is having that option for pagination. For the pagination, we have to send some information to page they are total item count, page size(number of records per page), current page etc.
Yii 2.0 menu widget is used to display the multi-level menu items. 'items' is the main property of Menu. It contains all the menu items with attributes.
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.
Yii2.0 SqlDataProvider is used to get the data provider using plain SQL statement. SqlDataProvider is return the data provider as array for each row of query result.
The gridview widget is used to display the data like image, text, etc in a grid. It is having a lot features like sorting, pagination, filtering, styling etc in yiiframework2.0.
Theme is very important to make cool our application. In yiiframework 2.0, we are having lot of new features in theming compare to yiiframework 1.0 like We can override the the active theme.
Each and every application will be accessed by URL.Yii2.0 is having a flexibility to format the URL using urlManager components and we have to define it in web.php
Yii2.0 is giving the support for data validation and also it is very easy way to test the input data. To check validate() of input data, we should declare validation rules for the attributes you plan to validate.
To hide the 'index.php' and enable the Pretty URL in yiiframework 2.0, this post will help you. For this we have to configure the .htaccess and web.php file.