I have some attributes which have a nested connection each item (just like dropdown list).
ex: -id_province, province_name
-id_province, id_city, city
I want to display them both in id_number and their description. I had done the first well…
'id_province'=>array(
'name'=>'Province',
'value'=>Province::model()->FindByPk($model->id_province)->province_name,
),
id_province
But when i try to add City, I have some error. Could anyone help me?