I need help with a CGridView, I have a view with a CGridview of my table Ciudad, each record in my table have idciudad,nombreciudad,…,redespacho. where redespacho is a integer and make reference to idciudad in same table. the cities can have or not have redespacho, but I need that the record to have redespacho, show the name of city and not show the idciudad.