Is there a way to put toggle function in CDetailView?

Is there a way to put toggle function in CDetailView?

I have a table with many attributes and I was wondering if I can put a toggle function below (like "see more") so that the user can just simply click it if he wanted to see more of the details.

Can someone help me. It will be much appreciated as for being a starter in Yii. Thanks.

Hi

you have to code your way.

like if(length(desc) > 200)than substr(desc , 0 , 200) … More

else desc

Thanks