How to creat a multi model CGridView in Yii framework. I've searched documentation of Yii.
Below are the two tables for example of what i needed
Table: user_master
+---------+----------+-------------+-------------+
| user_id | name | email | active |
| 1 | Darshit | [email protected] | true |
| 2 | Obed | [email protected] | true |
| 3 | abmed | [email protected] | true |
| 4 | clutch | [email protected] | true |
| 5 | sirisb | [email protected] | true |
+---------+----------+-------------+-------------+
Table: friend_master
+---------+-----------+--------------+-------------+
| user_id | friend_id | date_created | is_deleted |
+---------+-----------+--------------+-------------+
| 1 | 2 | 2011-12-14 | false |
| 1 | 5 | 2011-12-14 | false |
| 3 | 5 | 2011-12-14 | false |
| 2 | 4 | 2011-12-14 | false |
| 1 | 3 | 2011-12-14 | false |
| 5 | 2 | 2011-12-14 | false |
+---------+-----------+--------------+-------------+
I want grid like this:

I've created and models of both table but they only display single model grid view.
So, I'm not getting the way to do it. Any help will be highly appreciable.