conditional statements inside of 'value' for CDataColumn

zegeek

New Member
Does anyone know how to display a conditional value in CGridView column field? I've got an entry in the DB for gender 'M' of 'F', in die CGridView however I would like to display 'Male' and 'Female' respectively and not M or F. Any ideas would be welcome ;-)
 
Back
Top