Hi All, maybe this is a silly question. But, i have search it through forum and not find my answer yet.
Here is my problem. I want to display some data in CDetailView. Here is what I get…
imageshack.us/photo/my-images/443/cdetailviewbad.png
And here is what I want…
imageshack.us/photo/my-images/6/cdetailviewgood.png
How could I do it?
Thanks
bettor
(Live Webscore)
2
have you looked at the itemCssClass property of CDetailView.
alex3d
(Alexdotcom)
3
I had the same problem - found and used this great solution:
(i.e. first field in attributes array)
array(
'name'=>'inv_title',
'template'=>"<tr class=\"{class}\"><td style='width:30%'><b>{label}</b></td><td>{value}</td></tr>\n",
),