Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

CGridView filter with relations

$
0
0
Hi all

When I reference a relationship column in CGridView (i.e. to lookup a category code from a category ID), the filter box for that column disappears. How do I get this back?

I suspect I need to add a new criterion to CDbCriteria in my model, but I can't figure out what it should be.

Many thanks.

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>