You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to have a CGridView column that displays all tags for each model listed in the index (list) and admin views. I've tried some thing like this in CGridView:
Unfortunately, that produces nothing. No errors, just a totally blank column. (Interestingly, I was able to use tags_with_model->toString(); ?> to display the tags in view.php, and it worked quite nicely.) Apparently, something happens in CGridView to prevent toString() from working.
I would like to have a CGridView column that displays all tags for each model listed in the index (list) and admin views. I've tried some thing like this in CGridView:
Unfortunately, that produces nothing. No errors, just a totally blank column. (Interestingly, I was able to use tags_with_model->toString(); ?> to display the tags in view.php, and it worked quite nicely.) Apparently, something happens in CGridView to prevent toString() from working.
By the way, my behavior in the model looks like:
Can anyone tell me how to get a column in CGridView that displays the tags for each model?
The text was updated successfully, but these errors were encountered: