When I have a list field in my _search view, it doesn’t seem to affect the output in CGridView.
If I enter a value in one of the textfields, it is copied to the filter field in the CGridView header and seems to work.
What is going on?
When I have a list field in my _search view, it doesn’t seem to affect the output in CGridView.
If I enter a value in one of the textfields, it is copied to the filter field in the CGridView header and seems to work.
What is going on?
I found the problem, in my _search file I had "quality" not "quality_id" that is the correct element name. The model allowed it as a dropdownlist value.
I did run into another problem with check box. In the CGridView filter it is "Yes", "No" or Null. But when the user
is in the "_search" form, the checkbox forces a "Yes" or "No" into the CGridView filter.
Anyone with a quick fix for that?