There is a few cases that you want more of one CActiveDataProvider displayed in one CGrideView How to do that?
There is a few cases that you want more of one CActiveDataProvider displayed in one CGrideView How to do that?
CGridView and CListView are great widget to populate records and also provides features like ajax update, column sort, search, drop-down filter, ajax content load and many more...
The CGridView widget is very useful and customizable, but sometimes you need a little more. One limit I found is to have only one row for headers; yes, you can write each column header in more than one row, but just inside the single cell. I was looking instead for the possibility to use more than one row, with different structure one from the others. This way **you can write columns grouping h...
How to display status image on admin gridview.
Hi Friends,
Here's a tutorial on how to create a CGridView with external date filters the trick is to create hidden columns within the CGridView Filters something like in the example below:
1) Add a fancy-box extension on admin page
Lately, i needed to deal with the following scenario: read from two databases (db1,db2), and write to a third database (db3).
Assume that you have teachers and students model.
Hi buddies !, This tutorial shows about how to add a custom button with your own icon for your CGridView of Yii framework
Suppose you have an Application in Yii that manages hotels each one has many customers.
In this tutorial we will try to save cgridview filter(search) with title etc. basically we want to save two forms data i.e one represents filters and other data about filters like title, description etc. You can define your own structure for filter saving table here are some basic steps
Hi friends,
In this wiki I will show how could use a CSqlDataProvider in CGridView with specific features
This wiki shows about how to make a custom column or how to pass php-Yii-html code in CButtonColumn (as a button)
There are cases you want to update a record on CGridview directly
CGridview displays existent rows of the table (using DataProvider)
After of model update (successfull or not) throught CGridView (check the below link) you probably need to updates the specific row html in cgridview (not entire cgridview)
Let's take the example of the above article to display an email button next to a delete button: