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.
This tutorial will help you to hide the record delete button from CGridView if the record is used in other tables using relation concept.
CSqlDataProvider implements a data provider based on a plain SQL statement. This tutorial will help you to display the custom sql query result into cgridview as normal crud view.
CButtonColumn used to renders one or more buttons in gridview columns. Basically cgridview column have three buttons. They are “view”, “update”, “delete” button and it have corresponding actions. We can change it using CButtonColumn […]
This tutorial will help you to update the cgridview with out page reload When you use the CJuiDialog Form to update the record. Some time We will do this type of concept. We have […]
In this article, I explained about Cgridview “CButtonColumn” of yii framework. Here i added new button and assign customized url to new button. We can change the url to “view”,”update”,”delete” button also. <?php $this->widget('zii.widgets.grid.CGridView', […]
We can change the cgridview CButtonColumn visible status based on condition. Here i explained to show and hide the action buttons. using “visible” tag We can do this. To show the button set ‘true’ […]
CGridview Basic CGridview With User Methods CGridview Css Style CGridview CButtonColumn CGridview Ajax CGridview enableSorting Images In CGridview Link In CGridview CGridview Summary Text Pagination Header Text And Override Pagination CSS Empty Result Text […]