Currently my CGridView gives following result.
http://imageshack.us/a/img821/2391/44264318.png
Here City is actually CityID From a parent table. City table has one-to-many relationship with Campus table. I want to show city.cityname instead of city.cityid from parent table. Can someone help please. Database structure is as