Articles Posted in the " Yii Pagination " Category

  • Custom Pagination 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 Pagination :CLinkPager

    Yii Pagination :CLinkPager

    Create New Look For Pager Of Great Yii. Yii pagination widget is the one of the feature in yii framework. Listview and gridview have the pagination and it have the some basic properties, design […]


  • Yii Pagination Sky Blue Style

    Yii Pagination Style. Here i added one pagination style. see the style below Pager Css Disable Default CLinkPager Pager Css Save below sourcecode as pager.css under “css” folder of main directory. Then we have […]


  • Yii Pagination For CActiveDataProvider

    Yii Pagination For CActiveDataProvider

    This tutorial will helpful to understand about pagesize in cgridview or listview. Here i added the source code to show number of records per page. $criteria=new CDbCriteria; if($isdesired!=''){ $criteria->addCondition("status=1"); $pagination=array('pageSize'=>8); $dataProvider=new CActiveDataProvider('Document', array('criteria'=>$criteria,'pagination'=>$pagination )); […]


  • Yii CListview pager

    Yii CListview pager

    Yii Pager. I explained about “How to change yii pagination text”. CGridview and CListview are the most used widgets in yii. It have the pagination number and text. Here i added source code to […]